Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.0009259, 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.001432/0.001433, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.119/2.119, allocations: 205.4 MB / 223.1 MB, free: 5.473 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.4092/0.4092, allocations: 43.57 MB / 315 MB, free: 8.809 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.000601/0.0006012, allocations: 19.98 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002651/0.1541, allocations: 1.271 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.155, allocations: 311.6 kB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.1551, allocations: 0 / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1554, allocations: 87.81 kB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.1557, allocations: 59.86 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1559, allocations: 67.86 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1561, allocations: 59.89 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1562, allocations: 23.95 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.1563, allocations: 31.84 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1564, allocations: 47.83 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1564, allocations: 0 / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.1565, allocations: 35.97 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.1565, allocations: 19.92 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1566, allocations: 49.45 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1568, allocations: 87.88 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1568, allocations: 4 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1568, allocations: 0 / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1568, allocations: 4 kB / 445.6 MB, free: 10.53 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.0005092/0.1573, allocations: 395.1 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1574, allocations: 8.031 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1574, allocations: 16.83 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1578, allocations: 200.7 kB / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1578, allocations: 384 / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1578, allocations: 4.375 kB / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1581, allocations: 61.8 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1581, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1581, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1581, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1582, allocations: 23.98 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1587, allocations: 284.8 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1589, allocations: 54.56 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.159, allocations: 16.94 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.159, allocations: 0 / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.1592, allocations: 30.56 kB / 446.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.1592, allocations: 0 / 446.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005517/0.1597, allocations: 169.2 kB / 446.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.16, allocations: 55.41 kB / 446.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1602, allocations: 223.1 kB / 447.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1602, allocations: 29.7 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.1603, allocations: 104.1 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1603, allocations: 19.66 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.1603, allocations: 9.719 kB / 447.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1605, allocations: 326.8 kB / 447.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.1606, allocations: 27.98 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.1607, allocations: 27.92 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1608, allocations: 48.83 kB / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1608, allocations: 0 / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002044/0.161, allocations: 93.58 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.161, allocations: 4 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1611, allocations: 0 / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1611, allocations: 4 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.1612, allocations: 19.92 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1612, allocations: 0 / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.1612, allocations: 15.92 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1612, allocations: 0 / 447.8 MB, free: 8.082 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 0.0001052/0.1613, allocations: 129.8 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1614, allocations: 11.84 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.1617, allocations: 118.8 kB / 448.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1617, allocations: 0 / 448.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1617, allocations: 0 / 448.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1617, allocations: 0 / 448.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1623, allocations: 366.4 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1623, allocations: 0 / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.1624, allocations: 12 kB / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1624, allocations: 0 / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1624, allocations: 0 / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1624, allocations: 7.938 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1624, allocations: 288 / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1626, allocations: 191.4 kB / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1627, allocations: 93 kB / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1627, allocations: 0 / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.1628, allocations: 11.92 kB / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1628, allocations: 4 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1628, allocations: 0 / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.163, allocations: 179.2 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.163, allocations: 0 / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1632, allocations: 16 kB / 448.9 MB, free: 6.852 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.001137/0.1644, allocations: 405.2 kB / 449.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1646, allocations: 55.97 kB / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1646, allocations: 0 / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.1647, allocations: 31.92 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1651, allocations: 19.89 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.1656, allocations: 253.8 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1659, allocations: 0.7083 MB / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.166, allocations: 11.97 kB / 450.4 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.166, allocations: 11.44 kB / 450.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.166, allocations: 4 kB / 450.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of Templates: time 0.003842/0.1699, allocations: 1.042 MB / 451.5 MB, free: 4.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches