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.001377/0.001377, allocations: 76.06 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.001459/0.001459, 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.9453/0.9453, allocations: 158.6 MB / 186 MB, free: 2.734 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.1286/0.1286, allocations: 32.39 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.713e-06/1.713e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.955e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001573/0.001592, allocations: 0.5718 MB / 299.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005378/0.00213, allocations: 232.2 kB / 299.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.002159, allocations: 0 / 299.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.002315, allocations: 7.922 kB / 299.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.002348, allocations: 7.938 kB / 299.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.002625, allocations: 43.83 kB / 299.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.002697, allocations: 19.97 kB / 300 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.002736, allocations: 0 / 300 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.002778, allocations: 15.98 kB / 300 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.002892, allocations: 23.89 kB / 300 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.002908, allocations: 4 kB / 300 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.003041, allocations: 55.95 kB / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.003075, allocations: 11.98 kB / 300.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.0031, allocations: 19.91 kB / 300.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003238, allocations: 87.69 kB / 300.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00324, allocations: 0 / 300.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003241, allocations: 4 kB / 300.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.003244, allocations: 0 / 300.2 MB, free: 1.078 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.000309/0.003553, allocations: 240.9 kB / 300.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001623/0.003716, allocations: 11.97 kB / 300.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.003751, allocations: 8.922 kB / 300.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.003832, allocations: 109.7 kB / 300.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003844, allocations: 4.375 kB / 300.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.003866, allocations: 8.312 kB / 300.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.003987, allocations: 78.77 kB / 300.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.003999, allocations: 4.172 kB / 300.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004008, allocations: 4.375 kB / 300.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.004042, allocations: 16.36 kB / 300.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.004092, allocations: 27.92 kB / 300.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.004218, allocations: 86.58 kB / 300.8 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.004376, allocations: 65.36 kB / 300.8 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.004424, allocations: 28.8 kB / 300.9 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.004459, allocations: 8 kB / 300.9 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004482, allocations: 30.56 kB / 300.9 MB, free: 264 kB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.004483, allocations: 4 kB / 300.9 MB, free: 260 kB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.1557/0.1602, allocations: 2.161 MB / 303.1 MB, free: 19.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.1602, allocations: 56.39 kB / 303.1 MB, free: 19.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.1602, allocations: 97.66 kB / 303.2 MB, free: 19.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1602, allocations: 33.36 kB / 303.3 MB, free: 19.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.339e-05/0.1603, allocations: 83.3 kB / 303.3 MB, free: 19.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.1603, allocations: 97.34 kB / 303.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.1604, allocations: 59.83 kB / 303.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.1605, allocations: 324.4 kB / 303.8 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1606, allocations: 155.5 kB / 304 MB, free: 18.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1608, allocations: 149.6 kB / 304.1 MB, free: 18.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.1611, allocations: 345.2 kB / 304.4 MB, free: 18.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1611, allocations: 2 kB / 304.4 MB, free: 18.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003756/0.1615, allocations: 374.5 kB / 304.8 MB, free: 18.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1615, allocations: 5.969 kB / 304.8 MB, free: 18.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003041/0.1618, allocations: 320.7 kB / 305.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1618, allocations: 6.094 kB / 305.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.162, allocations: 73.12 kB / 305.2 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.162, allocations: 5.062 kB / 305.2 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.1621, allocations: 6.438 kB / 305.2 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.1621, allocations: 28.44 kB / 305.2 MB, free: 18.92 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 7.629e-05/0.1622, allocations: 128.9 kB / 305.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.1622, allocations: 17.44 kB / 305.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.1628, allocations: 475.2 kB / 305.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1629, allocations: 10.5 kB / 305.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.1629, allocations: 0 / 305.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1629, allocations: 5.906 kB / 305.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007385/0.1636, allocations: 0.6759 MB / 306.5 MB, free: 18.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002838/0.1639, allocations: 296.4 kB / 306.8 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.164, allocations: 47.7 kB / 306.9 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.164, allocations: 7.531 kB / 306.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.1641, allocations: 20.12 kB / 306.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1641, allocations: 5.391 kB / 306.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1641, allocations: 5.312 kB / 306.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.1647, allocations: 0.6309 MB / 307.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.1647, allocations: 22.44 kB / 307.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1647, allocations: 8.703 kB / 307.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.1648, allocations: 10.52 kB / 307.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.1649, allocations: 35.5 kB / 307.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.1649, allocations: 33.67 kB / 307.7 MB, free: 18.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.1649, allocations: 10.86 kB / 307.7 MB, free: 18.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1649, allocations: 0 / 307.7 MB, free: 18.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.1652, allocations: 82.47 kB / 307.7 MB, free: 18.12 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.0002045/0.1654, allocations: 137.5 kB / 307.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.1658, allocations: 365.4 kB / 308.2 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1658, allocations: 1.188 kB / 308.2 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.1661, allocations: 0.5421 MB / 308.8 MB, free: 17.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1662, allocations: 32.05 kB / 308.8 MB, free: 17.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1683, allocations: 1.178 MB / 310 MB, free: 17.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.1684, allocations: 83.36 kB / 310.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1685, allocations: 51.41 kB / 310.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.1688, allocations: 152.5 kB / 310.3 MB, free: 17.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1688, allocations: 4 kB / 310.3 MB, free: 17.08 MB / 282.7 MB Notification: Performance of Templates: time 0.006213/0.175, allocations: 3.634 MB / 313.9 MB, free: 15.12 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 -s gbode -gbm=radauIIA3 -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.068354588933289]