Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001083/0.001084, allocations: 192 kB / 18.56 MB, free: 4.434 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.361/1.361, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.244/0.244, allocations: 44.2 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00371/0.1243, allocations: 1.789 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.126, allocations: 0.9588 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1262, allocations: 3.938 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.1267, allocations: 299.3 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.1272, allocations: 207.3 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.1277, allocations: 175.1 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.1281, allocations: 239.4 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.263e-05/0.1281, allocations: 9.562 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1283, allocations: 123.6 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.1286, allocations: 188 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1286, allocations: 4 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1287, allocations: 43.98 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1289, allocations: 136.5 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.129, allocations: 138.8 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.1294, allocations: 359 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1295, allocations: 4 kB / 473.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1295, allocations: 0 / 473.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1295, allocations: 0 / 473.9 MB, free: 9.695 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.0009131/0.1304, allocations: 0.7113 MB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1304, allocations: 8.031 kB / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1306, allocations: 52.27 kB / 474.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.1311, allocations: 436 kB / 475.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1311, allocations: 4.375 kB / 475.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1311, allocations: 16.06 kB / 475.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.1314, allocations: 87.3 kB / 475.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1314, allocations: 3.984 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1314, allocations: 0 / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1314, allocations: 4 kB / 475.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1315, allocations: 31.97 kB / 475.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1319, allocations: 374.3 kB / 475.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1322, allocations: 105.2 kB / 475.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.1323, allocations: 41.64 kB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1323, allocations: 4 kB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.1326, allocations: 105 kB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1326, allocations: 0 / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004759/0.1331, allocations: 200.9 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1332, allocations: 81.11 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.1342, allocations: 1.007 MB / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1342, allocations: 25.7 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1344, allocations: 224.1 kB / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.1344, allocations: 39.62 kB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.1345, allocations: 29.7 kB / 477.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1346, allocations: 366.8 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.1347, allocations: 27.98 kB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.1348, allocations: 55.42 kB / 477.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.135, allocations: 91.84 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.135, allocations: 4 kB / 478 MB, free: 5.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003038/0.1353, allocations: 176.9 kB / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1353, allocations: 4 kB / 478.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1353, allocations: 4 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1354, allocations: 0 / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1355, allocations: 23.98 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1355, allocations: 0 / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.1356, allocations: 11.92 kB / 478.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1356, allocations: 8 kB / 478.2 MB, free: 5.098 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.0001945/0.1358, allocations: 221.7 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.1359, allocations: 55.33 kB / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.1359, allocations: 55.84 kB / 478.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.136, allocations: 4 kB / 478.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.136, allocations: 3.938 kB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.136, allocations: 0 / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1362, allocations: 333.4 kB / 478.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1362, allocations: 4 kB / 478.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.1363, allocations: 7.984 kB / 478.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1363, allocations: 0 / 478.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1363, allocations: 4 kB / 478.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1363, allocations: 4 kB / 478.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1363, allocations: 0 / 478.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.1366, allocations: 205.2 kB / 479.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1368, allocations: 136.5 kB / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.1368, allocations: 7.984 kB / 479.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1369, allocations: 8.125 kB / 479.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1369, allocations: 19.97 kB / 479.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.137, allocations: 4 kB / 479.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.1376, allocations: 0.7526 MB / 480 MB, free: 3.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1377, allocations: 0 / 480 MB, free: 3.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1379, allocations: 40.09 kB / 480 MB, free: 3.152 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.0008934/0.1388, allocations: 411 kB / 480.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1391, allocations: 91.89 kB / 480.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1391, allocations: 0 / 480.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1392, allocations: 40.3 kB / 480.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1396, allocations: 82.53 kB / 480.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1408, allocations: 0.851 MB / 481.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1412, allocations: 0.8388 MB / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.1414, allocations: 50.97 kB / 482.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.1415, allocations: 35.42 kB / 482.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1415, allocations: 0 / 482.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Templates: time 0.00902/0.1505, allocations: 3.666 MB / 486.1 MB, free: 13.23 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches