Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.00171, allocations: 177.7 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 223.1 MB, free: 5.215 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4944/0.4944, allocations: 43.57 MB / 315 MB, free: 8.926 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006501, allocations: 18.66 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1449, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003164/0.1481, allocations: 1.421 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1498, allocations: 0.773 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1499, allocations: 3.938 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1503, allocations: 43.88 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1505, allocations: 47.83 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1508, allocations: 83.83 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.151, allocations: 95.7 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1511, allocations: 12.22 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.1512, allocations: 43.77 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.1512, allocations: 31.8 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1513, allocations: 0 / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.1514, allocations: 35.98 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1514, allocations: 27.91 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1515, allocations: 69.38 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1517, allocations: 115.9 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1517, allocations: 0 / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1518, allocations: 0 / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1518, allocations: 0 / 446.2 MB, free: 9.859 MB / 382.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.0006102/0.1524, allocations: 407 kB / 446.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1524, allocations: 11.97 kB / 446.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1525, allocations: 16.75 kB / 446.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1528, allocations: 212.1 kB / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1528, allocations: 8.375 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1529, allocations: 12.03 kB / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1531, allocations: 53.67 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1531, allocations: 3.984 kB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1531, allocations: 7.984 kB / 447 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1531, allocations: 0 / 447 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.1532, allocations: 19.94 kB / 447 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.1537, allocations: 292.8 kB / 447.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.154, allocations: 58.69 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.154, allocations: 20.84 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.1541, allocations: 0 / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.1543, allocations: 71.33 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1544, allocations: 4 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006393/0.155, allocations: 173.1 kB / 447.6 MB, free: 8.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.155, allocations: 55.41 kB / 447.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1554, allocations: 222.7 kB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1554, allocations: 25.7 kB / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1555, allocations: 104.1 kB / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1555, allocations: 27.64 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1556, allocations: 21.7 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1557, allocations: 330.8 kB / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.1558, allocations: 20 kB / 448.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.1558, allocations: 33.7 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.156, allocations: 65.64 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.156, allocations: 0 / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.1562, allocations: 97.52 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1562, allocations: 12.03 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1562, allocations: 0 / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1562, allocations: 0 / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.1563, allocations: 15.94 kB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1563, allocations: 4 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.1564, allocations: 11.92 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1564, allocations: 4 kB / 448.6 MB, free: 7.246 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001133/0.1565, allocations: 122 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.1566, allocations: 19.8 kB / 448.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.1566, allocations: 25.34 kB / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1566, allocations: 0 / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1566, allocations: 0 / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1566, allocations: 3.938 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.157, allocations: 399.3 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1571, allocations: 0 / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.1571, allocations: 11.94 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1571, allocations: 4.031 kB / 449.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1571, allocations: 4.312 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1571, allocations: 4 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1571, allocations: 4 kB / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1574, allocations: 204.2 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1574, allocations: 88.92 kB / 449.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1575, allocations: 11.94 kB / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.1575, allocations: 7.984 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1576, allocations: 4 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1576, allocations: 4 kB / 449.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1578, allocations: 176.2 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1578, allocations: 0 / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.158, allocations: 28 kB / 449.7 MB, free: 6.043 MB / 382.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 (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.001151/0.1592, allocations: 461.8 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1594, allocations: 67.89 kB / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1594, allocations: 0 / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.1595, allocations: 27.98 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1598, allocations: 36.03 kB / 450.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1603, allocations: 290 kB / 450.6 MB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1607, allocations: 0.7082 MB / 451.3 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.1608, allocations: 8.891 kB / 451.3 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1608, allocations: 23.42 kB / 451.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1608, allocations: 0 / 451.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of Templates: time 0.00465/0.1655, allocations: 1.623 MB / 452.9 MB, free: 2.793 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches