Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 96.14 kB / 15.87 MB, free: 16 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.001804/0.001804, allocations: 202.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.3829/0.3829, allocations: 43.5 MB / 313.5 MB, free: 8.27 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.00159/0.00159, allocations: 66.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1493, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003606/0.153, allocations: 1.764 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1544, allocations: 0.7885 MB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.1544, allocations: 4 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.1548, allocations: 31.84 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.155, allocations: 51.81 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1553, allocations: 79.8 kB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1554, allocations: 99.62 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1556, allocations: 16.2 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.1557, allocations: 39.8 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1558, allocations: 27.86 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1558, allocations: 3.984 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.1559, allocations: 39.92 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.156, allocations: 15.92 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.1561, allocations: 39.73 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1563, allocations: 115.9 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1563, allocations: 0 / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1563, allocations: 0 / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1563, allocations: 4 kB / 442.9 MB, free: 11.48 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.0005796/0.1569, allocations: 410.9 kB / 443.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1569, allocations: 16.02 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.157, allocations: 8.844 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1573, allocations: 216.6 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1573, allocations: 384 / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1573, allocations: 8.125 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1575, allocations: 57.66 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1575, allocations: 4 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1575, allocations: 0 / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1575, allocations: 0 / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.1576, allocations: 19.98 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1581, allocations: 284.8 kB / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1583, allocations: 58.67 kB / 444 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.1584, allocations: 24.84 kB / 444 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1584, allocations: 4 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1586, allocations: 67.33 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1586, allocations: 0 / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005762/0.1592, allocations: 177.4 kB / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1593, allocations: 55.34 kB / 444.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1595, allocations: 203.3 kB / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1595, allocations: 25.7 kB / 444.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.1596, allocations: 104.1 kB / 444.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1596, allocations: 19.72 kB / 444.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1596, allocations: 25.7 kB / 444.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1598, allocations: 326.8 kB / 445 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.1598, allocations: 23.98 kB / 445 MB, free: 9.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.1599, allocations: 41.64 kB / 445.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.16, allocations: 57.66 kB / 445.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1601, allocations: 4 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.1602, allocations: 101.4 kB / 445.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1603, allocations: 4 kB / 445.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1603, allocations: 4 kB / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1603, allocations: 0 / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1604, allocations: 19.97 kB / 445.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1604, allocations: 160 / 445.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.1605, allocations: 15.92 kB / 445.3 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1605, allocations: 7.984 kB / 445.3 MB, free: 8.895 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 9.646e-05/0.1606, allocations: 125.7 kB / 445.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1606, allocations: 11.89 kB / 445.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.1607, allocations: 21.41 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1607, allocations: 0 / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1607, allocations: 0 / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1607, allocations: 7.938 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1611, allocations: 391.2 kB / 445.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1611, allocations: 3.984 kB / 445.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.1612, allocations: 12 kB / 445.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1612, allocations: 0 / 445.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1612, allocations: 7.938 kB / 445.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1612, allocations: 0 / 445.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1612, allocations: 3.938 kB / 445.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1614, allocations: 204.3 kB / 446 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.1615, allocations: 92.91 kB / 446.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1615, allocations: 7.938 kB / 446.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.1616, allocations: 0 / 446.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1617, allocations: 7.984 kB / 446.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1617, allocations: 8 kB / 446.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1618, allocations: 152.9 kB / 446.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1618, allocations: 4 kB / 446.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.1622, allocations: 24 kB / 446.3 MB, free: 7.727 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.001082/0.1633, allocations: 474.6 kB / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1635, allocations: 55.97 kB / 446.9 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1635, allocations: 0 / 446.9 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1636, allocations: 31.92 kB / 446.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1639, allocations: 31.92 kB / 446.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.1645, allocations: 249.1 kB / 447.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1649, allocations: 0.7043 MB / 447.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.165, allocations: 21.17 kB / 447.9 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.165, allocations: 15.44 kB / 447.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.165, allocations: 0 / 447.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of Templates: time 0.004671/0.1697, allocations: 1.642 MB / 449.5 MB, free: 4.504 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches