Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001592/0.001592, allocations: 196 kB / 17.97 MB, free: 5.027 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.806/1.806, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2503/0.2503, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001578/0.001579, allocations: 72.84 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1565, allocations: 57.78 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00326/0.1598, allocations: 1.696 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.162, allocations: 1.399 MB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1621, allocations: 3.938 kB / 445.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.1625, allocations: 47.7 kB / 445.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1628, allocations: 67.67 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1631, allocations: 79.72 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1633, allocations: 107.7 kB / 445.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1634, allocations: 8.234 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.1635, allocations: 51.78 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1637, allocations: 35.83 kB / 445.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1638, allocations: 7.938 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1639, allocations: 63.97 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.164, allocations: 19.92 kB / 445.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.164, allocations: 35.73 kB / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1643, allocations: 135.6 kB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1643, allocations: 0 / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1643, allocations: 0 / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1644, allocations: 0 / 445.7 MB, free: 2.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006802/0.165, allocations: 419 kB / 446.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1651, allocations: 11.89 kB / 446.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.1652, allocations: 8.844 kB / 446.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1656, allocations: 212.6 kB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1656, allocations: 11.92 kB / 446.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1657, allocations: 0 / 446.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1659, allocations: 79.39 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1659, allocations: 7.922 kB / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1659, allocations: 0 / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1659, allocations: 0 / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.166, allocations: 27.97 kB / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1664, allocations: 304.6 kB / 446.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1666, allocations: 66.69 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.1667, allocations: 24.84 kB / 446.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1667, allocations: 4 kB / 446.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1669, allocations: 75.31 kB / 446.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1669, allocations: 0 / 446.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006219/0.1675, allocations: 189.6 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1676, allocations: 93.05 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1677, allocations: 151 kB / 447.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1678, allocations: 33.7 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1678, allocations: 92.12 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1679, allocations: 31.66 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1679, allocations: 37.64 kB / 447.6 MB, free: 320 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1681, allocations: 318.8 kB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.1681, allocations: 24 kB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.94e-05/0.1682, allocations: 50.55 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1684, allocations: 65.66 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1684, allocations: 4 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.1686, allocations: 109.5 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1686, allocations: 4 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1687, allocations: 240 / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1687, allocations: 12 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1688, allocations: 19.98 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1688, allocations: 7.922 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1689, allocations: 4 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1689, allocations: 7.938 kB / 448.2 MB, free: 15.67 MB / 334.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 (11): * Single equations (assignments): 11 * 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.0001358/0.169, allocations: 129.8 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1691, allocations: 7.906 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.1691, allocations: 16.66 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1692, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1692, allocations: 4 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1692, allocations: 7.984 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.1697, allocations: 411.2 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1698, allocations: 0 / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.1698, allocations: 12 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1698, allocations: 0 / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1698, allocations: 3.984 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1698, allocations: 4 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1698, allocations: 4.125 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1701, allocations: 216.1 kB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.1702, allocations: 85.02 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1703, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1703, allocations: 7.984 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.1704, allocations: 7.938 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1704, allocations: 11.98 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1705, allocations: 127.9 kB / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1705, allocations: 0 / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1708, allocations: 28 kB / 449.2 MB, free: 14.48 MB / 334.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 (9): * Single equations (assignments): 7 * 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.001316/0.1722, allocations: 0.4917 MB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.1724, allocations: 71.86 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1724, allocations: 0 / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.1725, allocations: 35.92 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1729, allocations: 36.73 kB / 449.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.1735, allocations: 215 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.1739, allocations: 0.704 MB / 450.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.1739, allocations: 20.64 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.174, allocations: 19.44 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.174, allocations: 0 / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Templates: time 0.005828/0.1798, allocations: 2.026 MB / 452.9 MB, free: 10.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches