Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.66 kB / 16.99 MB, free: 5.941 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.001073/0.001073, allocations: 180 kB / 17.87 MB, free: 5.609 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.221/0.221, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 8 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 61.91 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002483/0.141, allocations: 1.386 MB / 472.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1424, allocations: 0.792 MB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.1425, allocations: 4 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.1429, allocations: 79.69 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1432, allocations: 59.84 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1435, allocations: 91.7 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1436, allocations: 75.84 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1437, allocations: 12.22 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1439, allocations: 35.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.144, allocations: 47.81 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.144, allocations: 4 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.1441, allocations: 24 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.1441, allocations: 23.91 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.1442, allocations: 37.64 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1443, allocations: 92.09 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1444, allocations: 0 / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1444, allocations: 3.938 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1444, allocations: 0 / 474.2 MB, free: 10.94 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.0005313/0.1449, allocations: 402.9 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.145, allocations: 8.031 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.145, allocations: 7.906 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1453, allocations: 206.8 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1453, allocations: 12 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1453, allocations: 4 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1455, allocations: 53.62 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1455, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1455, allocations: 4 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1455, allocations: 4 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.1456, allocations: 15.98 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.146, allocations: 292.8 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1462, allocations: 62.67 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1462, allocations: 0 / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.1464, allocations: 63.52 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.357e-06/0.1464, allocations: 3.984 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005663/0.147, allocations: 185.1 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1471, allocations: 59.34 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1473, allocations: 211.2 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1473, allocations: 33.64 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.1474, allocations: 104.1 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1474, allocations: 31.62 kB / 475.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1475, allocations: 8 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1476, allocations: 322.8 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.1476, allocations: 23.98 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-05/0.1477, allocations: 33.72 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.1478, allocations: 27.94 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1478, allocations: 0 / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.148, allocations: 97.44 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.148, allocations: 4 kB / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.148, allocations: 0 / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.148, allocations: 4 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.1481, allocations: 24.02 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1481, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.1482, allocations: 4 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1482, allocations: 4 kB / 476.5 MB, free: 8.445 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.1483, allocations: 134.2 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1484, allocations: 15.81 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.1484, allocations: 17.39 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1484, allocations: 4 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1484, allocations: 4 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1484, allocations: 0 / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1489, allocations: 395.3 kB / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1489, allocations: 384 / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1489, allocations: 11.98 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1489, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.149, allocations: 0 / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.149, allocations: 4 kB / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.149, allocations: 4.031 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1492, allocations: 213.9 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.1493, allocations: 96.91 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1493, allocations: 0 / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1494, allocations: 4 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1494, allocations: 12.17 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1494, allocations: 8 kB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1496, allocations: 163.1 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1496, allocations: 0 / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1498, allocations: 23.95 kB / 477.6 MB, free: 7.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.1509, allocations: 462.9 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1511, allocations: 63.89 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1511, allocations: 0 / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.1512, allocations: 23.98 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1514, allocations: 27.64 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.1519, allocations: 262.2 kB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1522, allocations: 0.7121 MB / 479.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.1523, allocations: 16.88 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1523, allocations: 15.44 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1523, allocations: 4 kB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.004205/0.1565, allocations: 1.597 MB / 480.7 MB, free: 4.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches