Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 94.28 kB / 17.35 MB, free: 6.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.000906/0.000906, allocations: 171.9 kB / 18.25 MB, free: 5.504 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.488/1.488, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.24 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 15.98 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002303/0.1259, allocations: 1.507 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1275, allocations: 0.9317 MB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1276, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.1281, allocations: 303.4 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1285, allocations: 195.5 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.129, allocations: 154.6 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1293, allocations: 231.4 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.1294, allocations: 9.562 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1296, allocations: 119.5 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1298, allocations: 183.5 kB / 475.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1298, allocations: 4 kB / 475.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.13, allocations: 51.92 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1301, allocations: 131.6 kB / 476.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1303, allocations: 168.5 kB / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.1306, allocations: 350.9 kB / 476.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1306, allocations: 0 / 476.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1306, allocations: 4 kB / 476.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1307, allocations: 3.938 kB / 476.6 MB, free: 9.02 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.0008573/0.1315, allocations: 0.665 MB / 477.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1316, allocations: 8.031 kB / 477.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.1317, allocations: 52.38 kB / 477.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.1322, allocations: 451.8 kB / 477.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1322, allocations: 4.375 kB / 477.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1323, allocations: 12.12 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1324, allocations: 83.3 kB / 477.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1325, allocations: 0 / 477.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1325, allocations: 11.94 kB / 477.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1325, allocations: 0 / 477.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1326, allocations: 27.98 kB / 477.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.133, allocations: 378.4 kB / 478.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1332, allocations: 105.2 kB / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1334, allocations: 49.64 kB / 478.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1334, allocations: 0 / 478.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1336, allocations: 109 kB / 478.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1336, allocations: 0 / 478.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000454/0.1341, allocations: 200.9 kB / 478.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1342, allocations: 81.11 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1352, allocations: 1.03 MB / 479.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1352, allocations: 29.7 kB / 479.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1354, allocations: 228.1 kB / 480.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1354, allocations: 27.64 kB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.1355, allocations: 17.72 kB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1356, allocations: 378.8 kB / 480.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.1357, allocations: 27.98 kB / 480.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.1358, allocations: 54.55 kB / 480.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.136, allocations: 91.34 kB / 480.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.136, allocations: 0 / 480.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002815/0.1363, allocations: 177.4 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1363, allocations: 4 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1363, allocations: 0 / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1363, allocations: 4 kB / 480.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1364, allocations: 20.05 kB / 480.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1365, allocations: 8 kB / 480.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.1366, allocations: 19.89 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1366, allocations: 4 kB / 480.9 MB, free: 4.434 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.0002024/0.1368, allocations: 230.1 kB / 481.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.1369, allocations: 47.42 kB / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.137, allocations: 60 kB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.137, allocations: 0 / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.137, allocations: 4 kB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.137, allocations: 0 / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.1373, allocations: 349.3 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1373, allocations: 3.938 kB / 481.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.1374, allocations: 8 kB / 481.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1374, allocations: 4 kB / 481.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1374, allocations: 7.984 kB / 481.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1374, allocations: 0 / 481.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1374, allocations: 4 kB / 481.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.1377, allocations: 201.2 kB / 481.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1378, allocations: 144.5 kB / 481.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.1379, allocations: 4 kB / 481.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.138, allocations: 7.984 kB / 481.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.138, allocations: 15.92 kB / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.138, allocations: 4 kB / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.1388, allocations: 0.7721 MB / 482.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1388, allocations: 0 / 482.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1391, allocations: 40 kB / 482.8 MB, free: 2.449 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.0009317/0.1401, allocations: 416 kB / 483.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1403, allocations: 79.89 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1403, allocations: 0 / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1405, allocations: 47.86 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.1409, allocations: 70.14 kB / 483.4 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1423, allocations: 0.9557 MB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.1428, allocations: 0.843 MB / 485.1 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.1429, allocations: 51.45 kB / 485.2 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.143, allocations: 31.42 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.143, allocations: 0 / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of Templates: time 0.00822/0.1512, allocations: 3.464 MB / 488.7 MB, free: 12.62 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches