Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 96.81 kB / 17 MB, free: 6.129 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.001492/0.001492, allocations: 181.7 kB / 17.89 MB, free: 5.707 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.526/1.526, allocations: 223.3 MB / 241.9 MB, free: 224 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.2075/0.2075, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002771/0.1473, allocations: 1.39 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.149, allocations: 0.8075 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1491, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.1496, allocations: 39.83 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1499, allocations: 43.83 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1503, allocations: 91.83 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.1505, allocations: 87.69 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1507, allocations: 4.234 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1508, allocations: 39.78 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.151, allocations: 31.84 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.151, allocations: 4 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1511, allocations: 24 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.1512, allocations: 23.91 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.1513, allocations: 41.64 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1516, allocations: 88.09 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1516, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1516, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1516, allocations: 0 / 474.3 MB, free: 10.97 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.0008728/0.1525, allocations: 402.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.1525, allocations: 8.031 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.1526, allocations: 11.81 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.153, allocations: 207.5 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.153, allocations: 7.938 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1531, allocations: 8 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.1533, allocations: 57.62 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1533, allocations: 3.984 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1534, allocations: 4 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1534, allocations: 7.938 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.1535, allocations: 15.98 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1541, allocations: 288.9 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1543, allocations: 62.61 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.1544, allocations: 24.84 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1544, allocations: 0 / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.1547, allocations: 67.39 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1547, allocations: 0 / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006879/0.1554, allocations: 181 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.1555, allocations: 51.41 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1557, allocations: 195.3 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1557, allocations: 29.7 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.1558, allocations: 100.1 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1559, allocations: 19.72 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.1559, allocations: 4 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1561, allocations: 330.8 kB / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.1562, allocations: 27.92 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.1562, allocations: 33.7 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.1563, allocations: 23.94 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1563, allocations: 0 / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.1565, allocations: 101.5 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1565, allocations: 8.031 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1566, allocations: 0 / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1566, allocations: 0 / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1567, allocations: 20 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1567, allocations: 0 / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.1568, allocations: 7.984 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1568, allocations: 0 / 476.6 MB, free: 8.473 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.0001515/0.1569, allocations: 130.3 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.157, allocations: 15.8 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.157, allocations: 25.5 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.157, allocations: 0 / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1571, allocations: 0 / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1571, allocations: 0 / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.1576, allocations: 399.3 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1576, allocations: 4.359 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1576, allocations: 8.188 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1576, allocations: 0 / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1577, allocations: 11.97 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1577, allocations: 4 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1577, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1579, allocations: 208.1 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.158, allocations: 89 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1581, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1581, allocations: 12 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1582, allocations: 11.92 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1582, allocations: 4 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1584, allocations: 148.9 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1584, allocations: 0 / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1586, allocations: 20 kB / 477.6 MB, free: 7.301 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.00124/0.1599, allocations: 474.9 kB / 478.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1601, allocations: 55.92 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1601, allocations: 0 / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.1602, allocations: 27.98 kB / 478.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1605, allocations: 31.3 kB / 478.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.161, allocations: 246.3 kB / 478.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1614, allocations: 0.7083 MB / 479.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.1615, allocations: 21.16 kB / 479.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.1615, allocations: 23.38 kB / 479.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1615, allocations: 0 / 479.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Templates: time 0.004493/0.166, allocations: 1.588 MB / 480.8 MB, free: 4.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches