Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 106 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001614, allocations: 191.3 kB / 17.2 MB, free: 5.574 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.623/1.623, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3088/0.3088, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001638/0.001638, allocations: 69.11 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1496, allocations: 57.8 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003904/0.1536, allocations: 1.547 MB / 442.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.1543, allocations: 307.6 kB / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1545, allocations: 0 / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1548, allocations: 27.84 kB / 442.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1551, allocations: 43.72 kB / 442.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1554, allocations: 71.47 kB / 442.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1556, allocations: 59.84 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1558, allocations: 7.938 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.1558, allocations: 23.91 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.1559, allocations: 23.86 kB / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1559, allocations: 0 / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1561, allocations: 24 kB / 442.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.1561, allocations: 15.92 kB / 442.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.1562, allocations: 23.86 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1564, allocations: 71.8 kB / 442.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1564, allocations: 4 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1564, allocations: 0 / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1565, allocations: 3.938 kB / 442.8 MB, free: 4.633 MB / 318.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.0005726/0.157, allocations: 375.2 kB / 443.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.1571, allocations: 11.89 kB / 443.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.1572, allocations: 8.844 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1574, allocations: 180.2 kB / 443.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1574, allocations: 4.375 kB / 443.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1574, allocations: 12.36 kB / 443.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1576, allocations: 45.81 kB / 443.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1576, allocations: 0 / 443.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1576, allocations: 4 kB / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1576, allocations: 0 / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.1577, allocations: 27.92 kB / 443.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1581, allocations: 272.8 kB / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.1583, allocations: 46.56 kB / 443.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.1584, allocations: 16.94 kB / 443.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1584, allocations: 3.938 kB / 443.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.1585, allocations: 34.56 kB / 443.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1585, allocations: 3.938 kB / 443.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005621/0.159, allocations: 141.3 kB / 443.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1591, allocations: 51.41 kB / 444 MB, free: 3.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1592, allocations: 145.6 kB / 444.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1592, allocations: 29.7 kB / 444.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.1593, allocations: 88.12 kB / 444.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1593, allocations: 23.66 kB / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1593, allocations: 21.72 kB / 444.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.1594, allocations: 322.8 kB / 444.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.1595, allocations: 15.98 kB / 444.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.1595, allocations: 19.98 kB / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1596, allocations: 44.83 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1597, allocations: 0 / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001626/0.1598, allocations: 81.61 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1599, allocations: 4 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1599, allocations: 4 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1599, allocations: 0 / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.16, allocations: 11.98 kB / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.16, allocations: 0 / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.16, allocations: 7.906 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.16, allocations: 0 / 444.8 MB, free: 2.391 MB / 318.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.359e-05/0.1601, allocations: 137.6 kB / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.1602, allocations: 0 / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.1604, allocations: 94.44 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1604, allocations: 64 / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1605, allocations: 4 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1605, allocations: 3.984 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1608, allocations: 346.4 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1608, allocations: 0 / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1609, allocations: 15.98 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1609, allocations: 0 / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1609, allocations: 0 / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1609, allocations: 7.875 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1609, allocations: 0 / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1612, allocations: 175.4 kB / 445.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1612, allocations: 81.09 kB / 445.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1612, allocations: 4 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.183e-05/0.1613, allocations: 7.938 kB / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1614, allocations: 4 kB / 445.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1614, allocations: 3.984 kB / 445.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.959e-05/0.1615, allocations: 107.3 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1615, allocations: 0 / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1617, allocations: 19.94 kB / 445.8 MB, free: 1.297 MB / 318.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.001005/0.1627, allocations: 400.5 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1629, allocations: 47.91 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.163, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.163, allocations: 23.98 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.1634, allocations: 11.98 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.1639, allocations: 173.4 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1641, allocations: 0.6885 MB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.1642, allocations: 15.98 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.1642, allocations: 11.44 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1642, allocations: 3.938 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.004336/0.1686, allocations: 1.09 MB / 448.2 MB, free: 14.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches