Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001418/0.001418, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.451/1.451, allocations: 222.9 MB / 242.5 MB, free: 13.73 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.2122/0.2122, allocations: 44.17 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.55 kB / 408.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1141, allocations: 60.83 MB / 469.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003386/0.1176, allocations: 1.839 MB / 471 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1193, allocations: 0.9472 MB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1194, allocations: 3.938 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.1199, allocations: 295.4 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1203, allocations: 191.5 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1208, allocations: 150.9 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.1211, allocations: 231.4 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.1212, allocations: 13.55 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1213, allocations: 119.5 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1216, allocations: 184 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1216, allocations: 4 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1218, allocations: 47.97 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1219, allocations: 124.6 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1221, allocations: 146.8 kB / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.1224, allocations: 271.8 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.1225, allocations: 0 / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1225, allocations: 4 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.1225, allocations: 3.938 kB / 473.7 MB, free: 10.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001037/0.1235, allocations: 0.7075 MB / 474.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1236, allocations: 12.03 kB / 474.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.823e-05/0.1237, allocations: 52.28 kB / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.1243, allocations: 443.9 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1243, allocations: 4.375 kB / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1243, allocations: 8.125 kB / 474.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1245, allocations: 79.38 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1245, allocations: 7.922 kB / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1246, allocations: 0 / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1246, allocations: 0 / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1247, allocations: 35.92 kB / 475.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.1251, allocations: 374.3 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1254, allocations: 105.2 kB / 475.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1255, allocations: 45.64 kB / 475.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1255, allocations: 7.938 kB / 475.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.1258, allocations: 101.1 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.1258, allocations: 4 kB / 475.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005288/0.1264, allocations: 197.4 kB / 475.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1264, allocations: 85.11 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1274, allocations: 1.003 MB / 477 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1275, allocations: 25.7 kB / 477 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1276, allocations: 228.1 kB / 477.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.1277, allocations: 27.7 kB / 477.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1277, allocations: 25.72 kB / 477.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1279, allocations: 374.7 kB / 477.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.128, allocations: 27.98 kB / 477.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/0.1281, allocations: 55.47 kB / 477.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1283, allocations: 95.36 kB / 477.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1283, allocations: 0 / 477.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.1286, allocations: 172.9 kB / 478 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1286, allocations: 4 kB / 478 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1286, allocations: 0 / 478 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1287, allocations: 4 kB / 478 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1288, allocations: 23.92 kB / 478 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1288, allocations: 4 kB / 478 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1289, allocations: 11.88 kB / 478 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1289, allocations: 8.062 kB / 478 MB, free: 5.629 MB / 350.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002033/0.1292, allocations: 222.2 kB / 478.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.1292, allocations: 51.34 kB / 478.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.1293, allocations: 55.84 kB / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1293, allocations: 0 / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1293, allocations: 4 kB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1293, allocations: 0 / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1297, allocations: 345.3 kB / 478.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1297, allocations: 128 / 478.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.1297, allocations: 19.94 kB / 478.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1297, allocations: 0 / 478.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1297, allocations: 4 kB / 478.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1298, allocations: 0 / 478.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1298, allocations: 0 / 478.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.1301, allocations: 209.2 kB / 478.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1303, allocations: 136.5 kB / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.1303, allocations: 8 kB / 479.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.1304, allocations: 0 / 479.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1305, allocations: 11.98 kB / 479.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.1305, allocations: 11.98 kB / 479.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007665/0.1313, allocations: 0.7448 MB / 479.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1313, allocations: 0 / 479.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1316, allocations: 43.98 kB / 479.9 MB, free: 3.684 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001033/0.1326, allocations: 418.2 kB / 480.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1329, allocations: 79.91 kB / 480.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1329, allocations: 3.938 kB / 480.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.133, allocations: 43.91 kB / 480.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1335, allocations: 64.05 kB / 480.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1349, allocations: 0.9716 MB / 481.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1354, allocations: 0.8429 MB / 482.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.1355, allocations: 31.44 kB / 482.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1355, allocations: 0 / 482.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of Templates: time 0.009869/0.1454, allocations: 4.949 MB / 487.3 MB, free: 12.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches