Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 93.09 kB / 17.35 MB, free: 6.371 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.0009664/0.0009664, allocations: 172.4 kB / 18.25 MB, free: 5.523 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.437/1.437, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2329/0.2329, allocations: 44.24 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002248/0.1398, allocations: 1.437 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1413, allocations: 0.8499 MB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.1414, allocations: 0 / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1418, allocations: 103.7 kB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.142, allocations: 75.78 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1423, allocations: 102.1 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1425, allocations: 123.7 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1427, allocations: 7.984 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1428, allocations: 55.77 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1429, allocations: 63.81 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.143, allocations: 7.938 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1431, allocations: 51.97 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1431, allocations: 31.84 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.508e-05/0.1433, allocations: 73.36 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1435, allocations: 139.8 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1435, allocations: 0 / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1435, allocations: 0 / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1435, allocations: 0 / 475.4 MB, free: 10.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005814/0.1441, allocations: 437.1 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1442, allocations: 16.03 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1442, allocations: 8.844 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1445, allocations: 227.8 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1445, allocations: 4.375 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1445, allocations: 8.031 kB / 476 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1447, allocations: 69.66 kB / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1447, allocations: 0 / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1447, allocations: 0 / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1448, allocations: 0 / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.1449, allocations: 39.91 kB / 476.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1453, allocations: 312.8 kB / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1456, allocations: 78.53 kB / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.1457, allocations: 20.86 kB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1457, allocations: 4.078 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1459, allocations: 79.33 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1459, allocations: 0 / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009106/0.1468, allocations: 277.3 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1469, allocations: 55.34 kB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1472, allocations: 251.2 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1472, allocations: 25.7 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1473, allocations: 116.3 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.1473, allocations: 47.44 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1474, allocations: 13.72 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1475, allocations: 330.8 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.1476, allocations: 31.98 kB / 477.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.1477, allocations: 49.7 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1478, allocations: 97.69 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1478, allocations: 0 / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000238/0.1481, allocations: 141.4 kB / 478 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1481, allocations: 10.5 kB / 478.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1481, allocations: 0 / 478.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1481, allocations: 3.938 kB / 478.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.1482, allocations: 23.98 kB / 478.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1483, allocations: 3.938 kB / 478.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.1483, allocations: 8 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1483, allocations: 8.031 kB / 478.1 MB, free: 7.223 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 (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.0001288/0.1485, allocations: 138.3 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1485, allocations: 11.81 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.1486, allocations: 25.39 kB / 478.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1486, allocations: 4 kB / 478.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1486, allocations: 7.938 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1486, allocations: 0 / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.1491, allocations: 487.8 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1492, allocations: 0 / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1492, allocations: 15.98 kB / 478.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1492, allocations: 4 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1492, allocations: 4 kB / 478.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1493, allocations: 4 kB / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1493, allocations: 0 / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.1496, allocations: 252.9 kB / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.1497, allocations: 88.92 kB / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1498, allocations: 8 kB / 479.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1498, allocations: 7.984 kB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1499, allocations: 11.97 kB / 479.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1499, allocations: 4 kB / 479.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1501, allocations: 192.2 kB / 479.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 479.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1504, allocations: 36 kB / 479.4 MB, free: 5.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001222/0.1516, allocations: 0.5001 MB / 479.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1519, allocations: 87.91 kB / 480 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1519, allocations: 0 / 480 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.152, allocations: 51.98 kB / 480 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1523, allocations: 39.53 kB / 480.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.1529, allocations: 348 kB / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1532, allocations: 0.7165 MB / 481.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.1533, allocations: 29.06 kB / 481.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.1533, allocations: 19.42 kB / 481.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1533, allocations: 0 / 481.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of Templates: time 0.004998/0.1583, allocations: 1.97 MB / 483.1 MB, free: 2.242 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches