Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 110.1 kB / 18.3 MB, free: 4.879 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.001401/0.001401, allocations: 195.3 kB / 19.23 MB, free: 3.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.19 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 69.08 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1395, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003866/0.1434, allocations: 1.7 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1461, allocations: 1.487 MB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1462, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1465, allocations: 31.78 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1469, allocations: 63.69 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.1473, allocations: 111.6 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.1476, allocations: 99.69 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1477, allocations: 8.234 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.1478, allocations: 43.78 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.148, allocations: 35.84 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.148, allocations: 4 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1482, allocations: 59.97 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1482, allocations: 19.92 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.1483, allocations: 35.78 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.1486, allocations: 127.8 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1486, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1486, allocations: 3.938 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1486, allocations: 0 / 473.8 MB, free: 10.55 MB / 350.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.0006944/0.1493, allocations: 403.2 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1494, allocations: 8.031 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.1494, allocations: 8.844 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1497, allocations: 207 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1497, allocations: 4.375 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1498, allocations: 4.125 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.15, allocations: 75.33 kB / 474.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.15, allocations: 4 kB / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.15, allocations: 0 / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.15, allocations: 0 / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.1501, allocations: 19.98 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.1507, allocations: 280.9 kB / 474.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1509, allocations: 62.61 kB / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.1509, allocations: 24.8 kB / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.151, allocations: 0 / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1512, allocations: 67.39 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1512, allocations: 0 / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006197/0.1519, allocations: 177.3 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.152, allocations: 85.11 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1522, allocations: 149.8 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.1523, allocations: 29.7 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1524, allocations: 96.12 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1524, allocations: 19.72 kB / 475.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1525, allocations: 25.7 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1526, allocations: 318.8 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.1527, allocations: 23.98 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1527, allocations: 50.5 kB / 475.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1529, allocations: 57.7 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1529, allocations: 0 / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.1531, allocations: 93.53 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1531, allocations: 8 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1531, allocations: 0 / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.1532, allocations: 4.062 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.1533, allocations: 15.98 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1533, allocations: 4.188 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.1533, allocations: 11.88 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1534, allocations: 7.938 kB / 476 MB, free: 8 MB / 350.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.0001082/0.1535, allocations: 121.8 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1535, allocations: 11.91 kB / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.1536, allocations: 12.72 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1536, allocations: 0 / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1536, allocations: 4 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1536, allocations: 3.938 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.1542, allocations: 391.3 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1542, allocations: 0 / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1542, allocations: 8 kB / 476.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1542, allocations: 0 / 476.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1542, allocations: 7.938 kB / 476.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.1543, allocations: 0 / 476.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1543, allocations: 11.95 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1545, allocations: 208.4 kB / 476.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1546, allocations: 89 kB / 476.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1546, allocations: 3.938 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1547, allocations: 8 kB / 476.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1547, allocations: 7.984 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1548, allocations: 4 kB / 476.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1549, allocations: 121.7 kB / 477 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1549, allocations: 0 / 477 MB, free: 6.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1552, allocations: 28 kB / 477.1 MB, free: 6.871 MB / 350.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.001322/0.1565, allocations: 0.4973 MB / 477.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1567, allocations: 63.91 kB / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1567, allocations: 0 / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1569, allocations: 28 kB / 477.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1573, allocations: 31.97 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.1578, allocations: 228.5 kB / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1581, allocations: 0.6973 MB / 478.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1582, allocations: 23.42 kB / 478.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1582, allocations: 0 / 478.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Templates: time 0.005033/0.1632, allocations: 2.05 MB / 480.7 MB, free: 3.406 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches