Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 106.1 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 196.1 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2645/0.2645, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 67.17 kB / 384.2 MB, free: 56.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1548, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003221/0.1581, allocations: 1.64 MB / 443.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1592, allocations: 0.7828 MB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.1593, allocations: 7.938 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.1597, allocations: 59.78 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.16, allocations: 63.75 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1602, allocations: 90.56 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1604, allocations: 95.69 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.1605, allocations: 15.92 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.1605, allocations: 43.84 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1607, allocations: 47.77 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1607, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.1608, allocations: 28 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1608, allocations: 11.98 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1609, allocations: 39.72 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1611, allocations: 99.64 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1611, allocations: 3.938 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1611, allocations: 0 / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1611, allocations: 0 / 445 MB, free: 3.086 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005605/0.1617, allocations: 407 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1617, allocations: 11.89 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1618, allocations: 20.83 kB / 445.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1621, allocations: 205 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1621, allocations: 4.375 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1621, allocations: 4.125 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1623, allocations: 45.67 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1623, allocations: 0 / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1623, allocations: 8 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1623, allocations: 3.938 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.1624, allocations: 15.98 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1626, allocations: 177.7 kB / 445.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1628, allocations: 50.61 kB / 445.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.1628, allocations: 20.8 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1629, allocations: 4 kB / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.163, allocations: 71.33 kB / 446 MB, free: 1.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1631, allocations: 3.938 kB / 446 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002874/0.1634, allocations: 93.56 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1634, allocations: 51.41 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1636, allocations: 194 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1636, allocations: 29.7 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.1636, allocations: 100.1 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1637, allocations: 11.91 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1637, allocations: 21.7 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.1638, allocations: 322.8 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.1638, allocations: 12 kB / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.1639, allocations: 29.64 kB / 446.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.164, allocations: 45.7 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.164, allocations: 4 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001282/0.1641, allocations: 81.47 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.1642, allocations: 4 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1642, allocations: 3.938 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.1642, allocations: 4 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.1643, allocations: 11.98 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1643, allocations: 320 / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1644, allocations: 19.88 kB / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1644, allocations: 4 kB / 447 MB, free: 0.7969 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.817e-05/0.1645, allocations: 125.7 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.1645, allocations: 15.89 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.1645, allocations: 12.31 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1645, allocations: 3.938 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1646, allocations: 0 / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1646, allocations: 0 / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1647, allocations: 189.6 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1647, allocations: 7.984 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.1647, allocations: 4 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1647, allocations: 3.984 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1647, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1648, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1648, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1649, allocations: 109 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.165, allocations: 88.92 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.165, allocations: 7.938 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.165, allocations: 4 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1651, allocations: 3.984 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1651, allocations: 4 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1652, allocations: 143.2 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1653, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1655, allocations: 16 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00115/0.1666, allocations: 416.5 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1668, allocations: 39.98 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1669, allocations: 0 / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.1669, allocations: 23.92 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1672, allocations: 31.52 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.1678, allocations: 198.1 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1682, allocations: 0.7002 MB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.1683, allocations: 16.41 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1683, allocations: 15.44 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1683, allocations: 0 / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.004751/0.1731, allocations: 1.467 MB / 450.7 MB, free: 13.12 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches