Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 114.6 kB / 17.33 MB, free: 5.988 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.001302/0.001302, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.434/1.434, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2254/0.2254, allocations: 44.17 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.34 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 60.84 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003264/0.1216, allocations: 1.749 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1231, allocations: 0.8614 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.1232, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1235, allocations: 43.88 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1238, allocations: 51.83 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1242, allocations: 95.77 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1244, allocations: 99.69 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1245, allocations: 16.2 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.1246, allocations: 39.8 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.1247, allocations: 35.78 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1247, allocations: 4 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1249, allocations: 43.98 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.1249, allocations: 27.92 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.125, allocations: 39.72 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1253, allocations: 119.8 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1253, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1253, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1253, allocations: 0 / 471.9 MB, free: 11.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006114/0.1259, allocations: 422.9 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.126, allocations: 12.03 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.126, allocations: 12.75 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1263, allocations: 220.5 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1263, allocations: 4.375 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1264, allocations: 4.125 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1266, allocations: 53.67 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1266, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1266, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1266, allocations: 7.938 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.1267, allocations: 19.92 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1271, allocations: 308.7 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1273, allocations: 50.69 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.1274, allocations: 24.84 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1274, allocations: 4 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.1277, allocations: 71.33 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1277, allocations: 0 / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007083/0.1285, allocations: 173.2 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1285, allocations: 55.41 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1288, allocations: 222.7 kB / 473.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1289, allocations: 25.7 kB / 473.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.1289, allocations: 112 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.129, allocations: 27.64 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.1291, allocations: 25.72 kB / 473.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1293, allocations: 330.8 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.1293, allocations: 20 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.1294, allocations: 37.7 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1296, allocations: 61.64 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1296, allocations: 384 / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002134/0.1298, allocations: 101.6 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1298, allocations: 4 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1299, allocations: 3.984 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1299, allocations: 0 / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.13, allocations: 23.94 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.13, allocations: 0 / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.13, allocations: 7.938 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1301, allocations: 4 kB / 474.3 MB, free: 8.848 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 (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 0.0001206/0.1302, allocations: 136.4 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1302, allocations: 15.81 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1303, allocations: 21.33 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1303, allocations: 4 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1303, allocations: 0 / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.1303, allocations: 3.938 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1308, allocations: 395.3 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1308, allocations: 0 / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1309, allocations: 12.22 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1309, allocations: 0 / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1309, allocations: 15.81 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1309, allocations: 0 / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1309, allocations: 0 / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1312, allocations: 204.2 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1312, allocations: 89 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1312, allocations: 11.94 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1313, allocations: 4 kB / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1314, allocations: 7.984 kB / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1314, allocations: 4 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1315, allocations: 168.3 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1315, allocations: 0 / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1318, allocations: 27.98 kB / 475.4 MB, free: 7.648 MB / 350.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: 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.001084/0.1329, allocations: 463.3 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1331, allocations: 67.91 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1331, allocations: 0 / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.1332, allocations: 28 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1336, allocations: 39.78 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.1342, allocations: 290.9 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1345, allocations: 0.7119 MB / 477 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.1345, allocations: 8.891 kB / 477 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1346, allocations: 19.42 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1346, allocations: 0 / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of Templates: time 0.004831/0.1394, allocations: 1.691 MB / 478.7 MB, free: 4.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches