Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001121/0.001121, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.34 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1222, allocations: 60.84 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002934/0.1252, allocations: 1.722 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1265, allocations: 0.8847 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.1266, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1269, allocations: 47.75 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1271, allocations: 63.69 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1274, allocations: 107.6 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1276, allocations: 119.8 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1277, allocations: 12 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.1278, allocations: 55.72 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.1279, allocations: 47.77 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1279, allocations: 4 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.128, allocations: 63.97 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1281, allocations: 27.91 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.1282, allocations: 35.75 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1284, allocations: 155.5 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1284, allocations: 0 / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1284, allocations: 4 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1284, allocations: 0 / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005002/0.1289, allocations: 430.9 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1289, allocations: 8.031 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.129, allocations: 8.844 kB / 474.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1293, allocations: 218.7 kB / 474.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1293, allocations: 12.38 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1293, allocations: 8.031 kB / 474.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1295, allocations: 85.53 kB / 474.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1295, allocations: 3.984 kB / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1295, allocations: 0 / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1295, allocations: 0 / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1296, allocations: 43.97 kB / 474.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.13, allocations: 316.7 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1303, allocations: 90.53 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.1304, allocations: 32.84 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1304, allocations: 0 / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1306, allocations: 83.41 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1306, allocations: 0 / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007936/0.1314, allocations: 285 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1314, allocations: 67.28 kB / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1316, allocations: 187.3 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1316, allocations: 25.7 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.1317, allocations: 109.1 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.1318, allocations: 47.53 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1318, allocations: 33.7 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1319, allocations: 326.8 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.132, allocations: 35.98 kB / 476.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1321, allocations: 60.36 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1323, allocations: 100.4 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1323, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002557/0.1326, allocations: 149.5 kB / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1326, allocations: 11.94 kB / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1326, allocations: 0 / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1326, allocations: 4.031 kB / 476.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.1327, allocations: 31.92 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1327, allocations: 3.938 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1328, allocations: 4 kB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1328, allocations: 4 kB / 476.8 MB, free: 7.281 MB / 350.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 (15): * Single equations (assignments): 15 * 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.0001046/0.1329, allocations: 129.8 kB / 477 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1329, allocations: 15.81 kB / 477 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.133, allocations: 21.52 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.133, allocations: 4 kB / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.133, allocations: 3.938 kB / 477 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.133, allocations: 4 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.1336, allocations: 483.9 kB / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1336, allocations: 8 kB / 477.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.1337, allocations: 15.98 kB / 477.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1337, allocations: 4 kB / 477.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1337, allocations: 8.062 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1337, allocations: 4 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1337, allocations: 0 / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.134, allocations: 253 kB / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.1341, allocations: 88.92 kB / 477.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1341, allocations: 3.984 kB / 477.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.1342, allocations: 12 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1342, allocations: 7.984 kB / 477.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1343, allocations: 8 kB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1344, allocations: 139.9 kB / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1344, allocations: 0 / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1347, allocations: 28 kB / 478 MB, free: 5.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001134/0.1358, allocations: 0.5223 MB / 478.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.136, allocations: 99.91 kB / 478.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1361, allocations: 0 / 478.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1362, allocations: 51.92 kB / 478.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1365, allocations: 35.84 kB / 478.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.137, allocations: 264.8 kB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1373, allocations: 0.72 MB / 479.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.1374, allocations: 29.39 kB / 479.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.1375, allocations: 27.36 kB / 479.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1375, allocations: 0 / 479.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Templates: time 0.004783/0.1423, allocations: 2.123 MB / 481.9 MB, free: 2.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches