Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009915, allocations: 94.11 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.001331/0.001331, allocations: 168.5 kB / 18.25 MB, free: 5.508 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.393/1.393, 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.2194/0.2194, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003959, allocations: 12 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002847/0.1436, allocations: 1.425 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1454, allocations: 0.8538 MB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.1455, allocations: 0 / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.1459, allocations: 87.75 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1461, allocations: 67.8 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1464, allocations: 95.83 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1466, allocations: 111.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1468, allocations: 12 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1469, allocations: 59.7 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.147, allocations: 59.81 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1471, allocations: 3.938 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1472, allocations: 51.98 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1473, allocations: 23.91 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.1473, allocations: 65.38 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1476, allocations: 127.8 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1476, allocations: 4 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1476, allocations: 0 / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1476, allocations: 7.938 kB / 475.3 MB, free: 10.28 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.0006421/0.1482, allocations: 413.3 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1483, allocations: 12.03 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1483, allocations: 12.75 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1486, allocations: 212.6 kB / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1486, allocations: 4.375 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1487, allocations: 8.125 kB / 476 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1488, allocations: 65.55 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1488, allocations: 4 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1489, allocations: 0 / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1489, allocations: 4 kB / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.149, allocations: 19.98 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1494, allocations: 304.7 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.1496, allocations: 70.48 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.1497, allocations: 24.97 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1497, allocations: 0 / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.15, allocations: 75.44 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.15, allocations: 0 / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007844/0.1508, allocations: 233.1 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1508, allocations: 63.34 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1511, allocations: 222.7 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1511, allocations: 29.64 kB / 477 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1512, allocations: 116.1 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1512, allocations: 35.45 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.1513, allocations: 21.7 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1514, allocations: 322.8 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.1515, allocations: 31.98 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.1516, allocations: 45.7 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1517, allocations: 81.64 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1517, allocations: 0 / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002247/0.152, allocations: 125.4 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.152, allocations: 10.34 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.152, allocations: 0 / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.152, allocations: 3.984 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1521, allocations: 31.95 kB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1521, allocations: 7.938 kB / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.1522, allocations: 0 / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1522, allocations: 4 kB / 477.9 MB, free: 7.477 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 (13): * Single equations (assignments): 13 * 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.0001083/0.1523, allocations: 129.8 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1523, allocations: 11.91 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.1524, allocations: 21.41 kB / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1524, allocations: 3.938 kB / 478 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1524, allocations: 11.88 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1524, allocations: 3.984 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.153, allocations: 448 kB / 478.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.153, allocations: 0 / 478.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.1531, allocations: 15.98 kB / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1531, allocations: 0 / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1531, allocations: 8 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1531, allocations: 4.062 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1531, allocations: 7.938 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.1534, allocations: 229 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1535, allocations: 85.02 kB / 478.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1535, allocations: 4 kB / 478.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.1536, allocations: 15.98 kB / 478.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1536, allocations: 4 kB / 478.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.1537, allocations: 11.98 kB / 478.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1538, allocations: 176.2 kB / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1538, allocations: 0 / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1541, allocations: 32 kB / 479.1 MB, free: 6.168 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 (11): * Single equations (assignments): 9 * 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.001266/0.1554, allocations: 0.5107 MB / 479.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1556, allocations: 83.84 kB / 479.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1556, allocations: 0 / 479.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.1557, allocations: 43.92 kB / 479.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1561, allocations: 31.67 kB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.1566, allocations: 311.9 kB / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.157, allocations: 0.7275 MB / 480.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.157, allocations: 12.66 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.1571, allocations: 19.42 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1571, allocations: 192 / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Templates: time 0.004813/0.1619, allocations: 1.87 MB / 482.7 MB, free: 2.73 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches