Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 92.25 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3438/0.3438, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 47.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1202, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003226/0.1234, allocations: 1.764 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1248, allocations: 0.7885 MB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.1249, allocations: 3.938 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1252, allocations: 39.88 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1254, allocations: 47.83 kB / 489.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1257, allocations: 79.84 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1258, allocations: 91.7 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.1259, allocations: 12.2 kB / 489.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.126, allocations: 39.8 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.1261, allocations: 31.78 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1261, allocations: 4 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1262, allocations: 39.98 kB / 490 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1263, allocations: 27.91 kB / 490 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.1263, allocations: 35.73 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1265, allocations: 111.9 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1265, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1265, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.1265, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000512/0.127, allocations: 422.8 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1271, allocations: 8.031 kB / 490.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1271, allocations: 8.844 kB / 490.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1273, allocations: 212.7 kB / 490.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1274, allocations: 8.375 kB / 490.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1274, allocations: 4.125 kB / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1275, allocations: 53.67 kB / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1276, allocations: 0 / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1276, allocations: 0 / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1276, allocations: 4 kB / 490.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.1277, allocations: 23.86 kB / 490.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.128, allocations: 292.9 kB / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1282, allocations: 58.67 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.1282, allocations: 16.86 kB / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1283, allocations: 0 / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1285, allocations: 71.33 kB / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1285, allocations: 4 kB / 491.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005245/0.129, allocations: 173.1 kB / 491.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.129, allocations: 51.41 kB / 491.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1292, allocations: 197.5 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1293, allocations: 29.7 kB / 491.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1293, allocations: 104.1 kB / 491.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.1294, allocations: 23.7 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.1294, allocations: 25.72 kB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1295, allocations: 322.8 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1296, allocations: 28.3 kB / 492.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.1296, allocations: 37.7 kB / 492.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1298, allocations: 57.64 kB / 492.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1298, allocations: 4 kB / 492.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.1299, allocations: 113.4 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.13, allocations: 4 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.13, allocations: 0 / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.13, allocations: 0 / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.1301, allocations: 19.98 kB / 492.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1301, allocations: 0 / 492.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.1301, allocations: 3.938 kB / 492.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1301, allocations: 8 kB / 492.5 MB, free: 6.836 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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 9.814e-05/0.1302, allocations: 133.8 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.1303, allocations: 11.89 kB / 492.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.1303, allocations: 13.41 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1303, allocations: 4 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1303, allocations: 0 / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1303, allocations: 7.922 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.1308, allocations: 395.2 kB / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1308, allocations: 0 / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1308, allocations: 15.97 kB / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1308, allocations: 192 / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1308, allocations: 7.938 kB / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1309, allocations: 7.938 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1309, allocations: 0 / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.1315, allocations: 0.7834 MB / 493.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1315, allocations: 88.91 kB / 493.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1316, allocations: 8 kB / 493.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.1316, allocations: 0 / 493.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1317, allocations: 7.984 kB / 493.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1317, allocations: 4 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1318, allocations: 156.2 kB / 494.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1318, allocations: 0 / 494.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.1322, allocations: 24 kB / 494.1 MB, free: 5.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001001/0.1332, allocations: 472.8 kB / 494.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1334, allocations: 59.84 kB / 494.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1334, allocations: 4.062 kB / 494.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.1335, allocations: 39.91 kB / 494.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1338, allocations: 19.98 kB / 494.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.1343, allocations: 387.9 kB / 495.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1345, allocations: 0.7004 MB / 495.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.1346, allocations: 21.17 kB / 495.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.1346, allocations: 15.44 kB / 495.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1346, allocations: 4 kB / 495.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of Templates: time 0.003886/0.1385, allocations: 1.672 MB / 497.5 MB, free: 1.648 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches