Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 115.1 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003064/0.003064, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.713/1.713, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 55.91 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1454, allocations: 53.32 MB / 427.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.005296/0.1507, allocations: 1.603 MB / 429.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1527, allocations: 0.5454 MB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1528, allocations: 0 / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.737e-05/0.1528, allocations: 11.88 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.153, allocations: 7.938 kB / 429.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.1536, allocations: 67.8 kB / 429.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1538, allocations: 51.78 kB / 429.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1539, allocations: 8.188 kB / 429.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1541, allocations: 35.84 kB / 429.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.1542, allocations: 19.86 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1542, allocations: 7.938 kB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.1543, allocations: 4 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.1544, allocations: 15.92 kB / 429.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.1544, allocations: 31.81 kB / 429.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1547, allocations: 63.67 kB / 430 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1547, allocations: 0 / 430 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1547, allocations: 0 / 430 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1547, allocations: 0 / 430 MB, free: 1.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007867/0.1555, allocations: 383 kB / 430.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.1555, allocations: 8.031 kB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.1558, allocations: 16.89 kB / 430.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.1563, allocations: 216.6 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1563, allocations: 4.375 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1563, allocations: 3.938 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.1568, allocations: 117.9 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1568, allocations: 0 / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1568, allocations: 0 / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1568, allocations: 4 kB / 430.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.157, allocations: 23.92 kB / 430.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.1575, allocations: 278.6 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1577, allocations: 63.8 kB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1579, allocations: 30.62 kB / 431.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1579, allocations: 0 / 431.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.158, allocations: 42.5 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.158, allocations: 0 / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005021/0.1585, allocations: 89.5 kB / 431.2 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.1586, allocations: 106.8 kB / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1589, allocations: 148.2 kB / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1589, allocations: 25.7 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.159, allocations: 96.12 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.159, allocations: 0 / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.1591, allocations: 21.67 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.1593, allocations: 318.8 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.1594, allocations: 11.94 kB / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1595, allocations: 39.42 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.1597, allocations: 43.36 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1597, allocations: 0 / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002898/0.16, allocations: 69.61 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.16, allocations: 8 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.16, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1601, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1602, allocations: 11.98 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1602, allocations: 7.938 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.1603, allocations: 7.938 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1603, allocations: 7.938 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.1605, allocations: 125.8 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.1606, allocations: 57.59 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.1607, allocations: 7.875 kB / 432.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1607, allocations: 7.984 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1607, allocations: 0 / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.1607, allocations: 3.938 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.161, allocations: 173.6 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.161, allocations: 0 / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1612, allocations: 19.92 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1612, allocations: 4.062 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1612, allocations: 4 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1612, allocations: 0 / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1612, allocations: 0 / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.1615, allocations: 181.2 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1617, allocations: 97.05 kB / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1617, allocations: 0 / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1618, allocations: 7.938 kB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1619, allocations: 11.92 kB / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1619, allocations: 0 / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.162, allocations: 111 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.162, allocations: 0 / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.1625, allocations: 8 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.1627, allocations: 103.8 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1629, allocations: 31.92 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1629, allocations: 0 / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.163, allocations: 11.98 kB / 433.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.1636, allocations: 28.81 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.1643, allocations: 218.4 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.1649, allocations: 0.6885 MB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.1649, allocations: 15.44 kB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1649, allocations: 0 / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.004216/0.1691, allocations: 0.8393 MB / 434.8 MB, free: 12.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.646867433009902]