Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 99.05 kB / 15.98 MB, free: 6.355 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.001702/0.001703, allocations: 191.7 kB / 16.9 MB, free: 6.191 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.647/1.647, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4029/0.4029, allocations: 43.5 MB / 313.6 MB, free: 8.508 MB / 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.001311/0.001311, allocations: 71.89 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1234, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003836/0.1273, allocations: 1.842 MB / 441.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1296, allocations: 1.453 MB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.1297, allocations: 3.938 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.13, allocations: 47.81 kB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1303, allocations: 79.67 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1306, allocations: 123.8 kB / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1308, allocations: 179.5 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.1309, allocations: 17.55 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.131, allocations: 87.56 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1312, allocations: 71.62 kB / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1312, allocations: 8 kB / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1314, allocations: 55.98 kB / 444 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.1315, allocations: 39.89 kB / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.1315, allocations: 63.55 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1319, allocations: 171.8 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1319, allocations: 0 / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1319, allocations: 0 / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1319, allocations: 4 kB / 444.2 MB, free: 10.47 MB / 382.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.0006784/0.1326, allocations: 462.6 kB / 444.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1326, allocations: 15.89 kB / 444.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1327, allocations: 12.75 kB / 444.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.133, allocations: 251.6 kB / 445 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.133, allocations: 4.375 kB / 445 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.133, allocations: 8.125 kB / 445 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1333, allocations: 101.1 kB / 445.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1333, allocations: 0 / 445.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1333, allocations: 0 / 445.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1333, allocations: 0 / 445.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1334, allocations: 35.91 kB / 445.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.1336, allocations: 210.5 kB / 445.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.1339, allocations: 113.2 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.134, allocations: 41.64 kB / 445.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.134, allocations: 3.984 kB / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.1343, allocations: 116.9 kB / 445.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1343, allocations: 7.875 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004275/0.1348, allocations: 161.5 kB / 445.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.1349, allocations: 136.5 kB / 445.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1351, allocations: 215.8 kB / 446.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1351, allocations: 29.7 kB / 446.1 MB, free: 8.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.1352, allocations: 116.1 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.1352, allocations: 27.64 kB / 446.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.1353, allocations: 29.72 kB / 446.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1354, allocations: 330.8 kB / 446.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.1355, allocations: 27.98 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1356, allocations: 65.14 kB / 446.7 MB, free: 7.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.1358, allocations: 91.34 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1358, allocations: 0 / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002551/0.1361, allocations: 141.4 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1361, allocations: 4 kB / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1361, allocations: 0 / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1361, allocations: 4 kB / 446.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1362, allocations: 24.55 kB / 447 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1363, allocations: 4 kB / 447 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.1363, allocations: 11.89 kB / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1364, allocations: 4 kB / 447 MB, free: 7.414 MB / 382.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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001077/0.1365, allocations: 137.8 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.1365, allocations: 27.73 kB / 447.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1366, allocations: 13 kB / 447.2 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1366, allocations: 4 kB / 447.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1366, allocations: 4 kB / 447.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1366, allocations: 0 / 447.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1368, allocations: 225.4 kB / 447.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1368, allocations: 0 / 447.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.1368, allocations: 8 kB / 447.4 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1368, allocations: 3.984 kB / 447.4 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1368, allocations: 0 / 447.4 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1368, allocations: 8 kB / 447.4 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1368, allocations: 3.984 kB / 447.4 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.1371, allocations: 169.6 kB / 447.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1372, allocations: 88.92 kB / 447.7 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.1372, allocations: 8.031 kB / 447.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.1373, allocations: 15.92 kB / 447.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1373, allocations: 8 kB / 447.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1374, allocations: 7.984 kB / 447.7 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1375, allocations: 157.5 kB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1375, allocations: 0 / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1378, allocations: 39.98 kB / 447.9 MB, free: 6.406 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000956/0.1388, allocations: 449.8 kB / 448.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.139, allocations: 87.89 kB / 448.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.139, allocations: 0 / 448.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1391, allocations: 43.92 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1395, allocations: 66.55 kB / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.14, allocations: 292.5 kB / 448.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1402, allocations: 0.7202 MB / 449.5 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.1403, allocations: 37.5 kB / 449.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.1404, allocations: 27.42 kB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1404, allocations: 0 / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of Templates: time 0.004929/0.1453, allocations: 2.602 MB / 452.2 MB, free: 2.086 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches