Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.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.001355/0.001355, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001484/0.001484, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9668/0.9668, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1643/0.1643, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.278e-05, allocations: 2.312 kB / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002272/0.002305, allocations: 0.5248 MB / 299.6 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.002966, allocations: 232.2 kB / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.003002, allocations: 0 / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.003197, allocations: 15.86 kB / 299.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.003232, allocations: 0 / 299.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.003645, allocations: 47.88 kB / 299.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.003741, allocations: 19.92 kB / 299.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.003796, allocations: 4 kB / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.003854, allocations: 11.98 kB / 299.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.003998, allocations: 23.95 kB / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.004023, allocations: 4 kB / 299.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.004172, allocations: 51.89 kB / 300 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.00422, allocations: 19.92 kB / 300 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.004248, allocations: 3.984 kB / 300 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.004431, allocations: 87.69 kB / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.004435, allocations: 0 / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.004437, allocations: 0 / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004441, allocations: 0 / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005158/0.004957, allocations: 248.9 kB / 300.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.005016, allocations: 12.03 kB / 300.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.005071, allocations: 8.906 kB / 300.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.005203, allocations: 113.7 kB / 300.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.00522, allocations: 384 / 300.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.005256, allocations: 4.375 kB / 300.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.005749, allocations: 86.7 kB / 300.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.005763, allocations: 192 / 300.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.005776, allocations: 384 / 300.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.005832, allocations: 16.36 kB / 300.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.005906, allocations: 27.92 kB / 300.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.006085, allocations: 90.58 kB / 300.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.006311, allocations: 61.31 kB / 300.7 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.006355, allocations: 24.86 kB / 300.8 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.006402, allocations: 8 kB / 300.8 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.006434, allocations: 38.56 kB / 300.8 MB, free: 360 kB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.006436, allocations: 0 / 300.8 MB, free: 360 kB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.1566/0.1631, allocations: 1.379 MB / 302.2 MB, free: 19.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1631, allocations: 55.11 kB / 302.2 MB, free: 19.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.1632, allocations: 98.97 kB / 302.3 MB, free: 19.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1632, allocations: 31.08 kB / 302.4 MB, free: 19.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.1632, allocations: 82 kB / 302.5 MB, free: 19.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.1633, allocations: 98.69 kB / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.1634, allocations: 57.58 kB / 302.6 MB, free: 19.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.1634, allocations: 324.7 kB / 302.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1636, allocations: 153.6 kB / 303.1 MB, free: 19.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1638, allocations: 152.2 kB / 303.2 MB, free: 19.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1641, allocations: 348.6 kB / 303.6 MB, free: 19.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1641, allocations: 0.7812 kB / 303.6 MB, free: 19.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004334/0.1646, allocations: 373.4 kB / 303.9 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1646, allocations: 12.5 kB / 303.9 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004213/0.165, allocations: 319 kB / 304.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.1651, allocations: 1.469 kB / 304.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1653, allocations: 58.5 kB / 304.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1653, allocations: 2.703 kB / 304.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.1653, allocations: 5.562 kB / 304.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.1654, allocations: 35.94 kB / 304.4 MB, free: 18.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000119/0.1655, allocations: 123.1 kB / 304.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1656, allocations: 22.2 kB / 304.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.1663, allocations: 471.7 kB / 305 MB, free: 18.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.1664, allocations: 10.25 kB / 305 MB, free: 18.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1664, allocations: 1.062 kB / 305 MB, free: 18.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.1664, allocations: 2.156 kB / 305 MB, free: 18.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.1673, allocations: 0.6836 MB / 305.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004045/0.1677, allocations: 298.5 kB / 305.9 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.1679, allocations: 44.95 kB / 306 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.168, allocations: 3.25 kB / 306 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.168, allocations: 22.66 kB / 306 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.168, allocations: 3.812 kB / 306 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.168, allocations: 2.219 kB / 306 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.1688, allocations: 0.6355 MB / 306.7 MB, free: 18.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1689, allocations: 22.48 kB / 306.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1689, allocations: 9.203 kB / 306.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.169, allocations: 11.12 kB / 306.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1691, allocations: 39.12 kB / 306.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.1691, allocations: 31.34 kB / 306.8 MB, free: 18.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.1691, allocations: 13.83 kB / 306.8 MB, free: 18.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1691, allocations: 0 / 306.8 MB, free: 18.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003101/0.1694, allocations: 82.36 kB / 306.9 MB, free: 18.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse14,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0002859/0.1697, allocations: 137.1 kB / 307 MB, free: 18.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004935/0.1702, allocations: 365.6 kB / 307.4 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.1702, allocations: 1.594 kB / 307.4 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.1705, allocations: 0.5426 MB / 307.9 MB, free: 17.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1707, allocations: 31.08 kB / 307.9 MB, free: 17.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1729, allocations: 1.175 MB / 309.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.173, allocations: 84.14 kB / 309.2 MB, free: 17.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.1731, allocations: 50.64 kB / 309.2 MB, free: 17.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.1734, allocations: 155.8 kB / 309.4 MB, free: 17.19 MB / 282.7 MB Notification: Performance of SimCode: time 2.385e-06/0.1734, allocations: 1.062 kB / 309.4 MB, free: 17.19 MB / 282.7 MB Notification: Performance of Templates: time 0.006955/0.1804, allocations: 3.63 MB / 313 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestInterpolateTimeVarying/TestInterpolateTimeVarying.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1602126387879252]