Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, 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.001943/0.001943, allocations: 203.2 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.814/1.814, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.4016/0.4016, allocations: 43.5 MB / 313.5 MB, free: 8.262 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.001439/0.001439, allocations: 70.56 kB / 382 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 57.78 MB / 439.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003075/0.1567, allocations: 1.618 MB / 441.4 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.1574, allocations: 315.4 kB / 441.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.1574, allocations: 0 / 441.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1577, allocations: 71.84 kB / 441.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1578, allocations: 55.81 kB / 441.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1581, allocations: 67.86 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1582, allocations: 63.83 kB / 442 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.1583, allocations: 15.97 kB / 442 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.1584, allocations: 35.84 kB / 442 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.1585, allocations: 47.88 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1585, allocations: 8 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.1586, allocations: 24 kB / 442.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.1586, allocations: 19.92 kB / 442.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.1587, allocations: 23.75 kB / 442.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1588, allocations: 95.86 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1589, allocations: 0 / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1589, allocations: 0 / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1589, allocations: 4 kB / 442.3 MB, free: 12.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005052/0.1594, allocations: 399 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1594, allocations: 8.031 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1595, allocations: 12.84 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1597, allocations: 196.1 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.1597, allocations: 384 / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1597, allocations: 4.375 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1598, allocations: 49.75 kB / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1599, allocations: 0 / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1599, allocations: 0 / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1599, allocations: 7.938 kB / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.16, allocations: 23.97 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1603, allocations: 284.9 kB / 443.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1606, allocations: 42.5 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.1606, allocations: 16.86 kB / 443.3 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1607, allocations: 4.078 kB / 443.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1607, allocations: 34.56 kB / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1607, allocations: 0 / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005481/0.1612, allocations: 145.1 kB / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1613, allocations: 55.41 kB / 443.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1615, allocations: 206.2 kB / 443.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1615, allocations: 25.7 kB / 443.7 MB, free: 10.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1616, allocations: 104.1 kB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1616, allocations: 19.72 kB / 443.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1616, allocations: 17.72 kB / 443.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1618, allocations: 322.8 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.1618, allocations: 15.98 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.1619, allocations: 24.05 kB / 444.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.162, allocations: 48.83 kB / 444.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.162, allocations: 0 / 444.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001727/0.1622, allocations: 81.8 kB / 444.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1622, allocations: 8 kB / 444.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1623, allocations: 0 / 444.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1623, allocations: 0 / 444.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.1623, allocations: 11.98 kB / 444.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.1624, allocations: 0 / 444.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1624, allocations: 11.98 kB / 444.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1624, allocations: 4 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.822e-05/0.1625, allocations: 137.7 kB / 444.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.1626, allocations: 7.906 kB / 444.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1628, allocations: 93.84 kB / 444.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1628, allocations: 4 kB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1628, allocations: 0 / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1628, allocations: 7.984 kB / 444.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1632, allocations: 346.5 kB / 445 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1632, allocations: 320 / 445 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.1633, allocations: 19.92 kB / 445 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1633, allocations: 0 / 445 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1633, allocations: 0 / 445 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.1633, allocations: 7.938 kB / 445 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1633, allocations: 0 / 445 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.1635, allocations: 183.3 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.1636, allocations: 88.95 kB / 445.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1636, allocations: 4 kB / 445.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1637, allocations: 7.938 kB / 445.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1637, allocations: 7.922 kB / 445.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1637, allocations: 0 / 445.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1639, allocations: 168 kB / 445.5 MB, free: 8.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 4 kB / 445.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1641, allocations: 12 kB / 445.5 MB, free: 8.625 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009181/0.165, allocations: 398.6 kB / 445.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1652, allocations: 43.97 kB / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1652, allocations: 0 / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.1653, allocations: 27.98 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1657, allocations: 19.92 kB / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.1661, allocations: 235.7 kB / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1664, allocations: 0.7043 MB / 446.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.1664, allocations: 11.97 kB / 446.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.1664, allocations: 11.44 kB / 446.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1664, allocations: 0 / 446.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of Templates: time 0.003285/0.1697, allocations: 1.054 MB / 448 MB, free: 6.105 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches