Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001218, 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.001389/0.001389, allocations: 206.4 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.49/1.49, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.3516/0.3516, allocations: 43.49 MB / 313.5 MB, free: 8.465 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.001348/0.001348, allocations: 75.12 kB / 382 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1478, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004312/0.1521, allocations: 1.748 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1537, allocations: 0.7846 MB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.1538, allocations: 7.938 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1541, allocations: 27.89 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1544, allocations: 51.83 kB / 442.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1547, allocations: 83.78 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1549, allocations: 87.7 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.155, allocations: 20.2 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1552, allocations: 39.78 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.1552, allocations: 27.8 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1553, allocations: 4 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1554, allocations: 43.97 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.1555, allocations: 15.92 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.1556, allocations: 31.75 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1558, allocations: 115.9 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1558, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1558, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1558, allocations: 0 / 442.9 MB, free: 11.73 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.0007197/0.1566, allocations: 414.9 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1566, allocations: 8.031 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1567, allocations: 8.844 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1569, allocations: 220 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.157, allocations: 12.38 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.157, allocations: 4.125 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1572, allocations: 53.67 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1572, allocations: 0 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1572, allocations: 3.938 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1572, allocations: 4 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.1573, allocations: 19.92 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1577, allocations: 288.9 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1579, allocations: 54.67 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.158, allocations: 20.86 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.158, allocations: 3.984 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1583, allocations: 75.23 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.1583, allocations: 0 / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006351/0.1589, allocations: 165.3 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.159, allocations: 59.39 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1592, allocations: 182.2 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1592, allocations: 25.7 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.1593, allocations: 112.1 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1594, allocations: 27.69 kB / 444.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.1594, allocations: 21.72 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1596, allocations: 326.8 kB / 445 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1597, allocations: 23.98 kB / 445 MB, free: 9.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1599, allocations: 37.64 kB / 445 MB, free: 9.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.16, allocations: 57.66 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1601, allocations: 4 kB / 445.1 MB, free: 9.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002343/0.1603, allocations: 97.58 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1603, allocations: 7.938 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1604, allocations: 4 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.1604, allocations: 0 / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1605, allocations: 12 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1605, allocations: 3.984 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.1606, allocations: 7.938 kB / 445.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1606, allocations: 4 kB / 445.2 MB, free: 9.164 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.0001326/0.1608, allocations: 129.8 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1608, allocations: 12.27 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1609, allocations: 12.72 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1609, allocations: 4 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1609, allocations: 0 / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1609, allocations: 7.938 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1615, allocations: 391.2 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1615, allocations: 11.97 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.1615, allocations: 15.92 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1615, allocations: 0 / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1616, allocations: 3.938 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1616, allocations: 0 / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1616, allocations: 4 kB / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1619, allocations: 196.3 kB / 446 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.162, allocations: 85.02 kB / 446.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.162, allocations: 11.92 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1621, allocations: 4 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.1621, allocations: 4 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1622, allocations: 11.97 kB / 446.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1623, allocations: 144 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1623, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.1626, allocations: 27.98 kB / 446.3 MB, free: 8.008 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.001247/0.1639, allocations: 481.1 kB / 446.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1641, allocations: 59.91 kB / 446.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1641, allocations: 0 / 446.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.1642, allocations: 32.05 kB / 446.8 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1646, allocations: 27.97 kB / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.1652, allocations: 237.2 kB / 447.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1657, allocations: 0.7082 MB / 447.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.1657, allocations: 16.88 kB / 447.8 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1658, allocations: 11.44 kB / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1658, allocations: 0 / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of Templates: time 0.005113/0.1709, allocations: 1.635 MB / 449.5 MB, free: 4.797 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches