Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 101.9 kB / 16.02 MB, free: 76 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.001538/0.001538, allocations: 184.6 kB / 16.92 MB, free: 6.914 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.124/2.124, allocations: 205.4 MB / 223.1 MB, free: 5.75 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.4417/0.4417, allocations: 43.58 MB / 315 MB, free: 8.727 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.0005363/0.0005365, allocations: 16 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002094/0.1472, allocations: 1.414 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1492, allocations: 1.356 MB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.1493, allocations: 0 / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1496, allocations: 27.91 kB / 446.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1498, allocations: 51.81 kB / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1501, allocations: 75.86 kB / 446.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1503, allocations: 95.67 kB / 446.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1504, allocations: 12.22 kB / 446.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1505, allocations: 39.73 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1507, allocations: 35.83 kB / 446.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1507, allocations: 0 / 446.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1508, allocations: 55.98 kB / 446.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1509, allocations: 23.91 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.151, allocations: 57.44 kB / 446.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1512, allocations: 123.8 kB / 446.8 MB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1512, allocations: 4 kB / 446.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1513, allocations: 0 / 446.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1513, allocations: 0 / 446.8 MB, free: 9.285 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006057/0.1519, allocations: 383.2 kB / 447.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1519, allocations: 12.03 kB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.152, allocations: 8.844 kB / 447.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1522, allocations: 216 kB / 447.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1523, allocations: 384 / 447.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1523, allocations: 8.125 kB / 447.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1525, allocations: 71.33 kB / 447.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1525, allocations: 0 / 447.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1525, allocations: 3.938 kB / 447.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1525, allocations: 0 / 447.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.1526, allocations: 23.98 kB / 447.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.153, allocations: 276.9 kB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1532, allocations: 62.61 kB / 447.9 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.1532, allocations: 20.84 kB / 447.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1533, allocations: 4 kB / 447.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1534, allocations: 67.39 kB / 448 MB, free: 7.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1535, allocations: 0 / 448 MB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005415/0.154, allocations: 169.2 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1541, allocations: 81.11 kB / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1542, allocations: 146.5 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1542, allocations: 29.7 kB / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.1543, allocations: 96.03 kB / 448.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1543, allocations: 23.75 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1544, allocations: 21.7 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1545, allocations: 326.8 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1546, allocations: 19.94 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.1546, allocations: 50.55 kB / 448.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1548, allocations: 57.77 kB / 449 MB, free: 6.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1548, allocations: 4.031 kB / 449 MB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.1549, allocations: 105.4 kB / 449.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.155, allocations: 7.984 kB / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.155, allocations: 0 / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.155, allocations: 4.188 kB / 449.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1551, allocations: 12 kB / 449.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1551, allocations: 3.938 kB / 449.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.1552, allocations: 8.312 kB / 449.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1552, allocations: 7.984 kB / 449.1 MB, free: 6.75 MB / 382.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 9.254e-05/0.1553, allocations: 125.8 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1553, allocations: 7.906 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.1553, allocations: 12.72 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1553, allocations: 3.984 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.1554, allocations: 11.98 kB / 449.3 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1554, allocations: 3.938 kB / 449.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.1559, allocations: 391.3 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1559, allocations: 3.938 kB / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1559, allocations: 8 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1559, allocations: 0 / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1559, allocations: 7.922 kB / 449.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1559, allocations: 4 kB / 449.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.156, allocations: 0 / 449.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1562, allocations: 204.3 kB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1563, allocations: 81.02 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1563, allocations: 15.92 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.1564, allocations: 4 kB / 450 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1564, allocations: 0 / 450 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1565, allocations: 7.984 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.1566, allocations: 118.7 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 0 / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1568, allocations: 31.98 kB / 450.1 MB, free: 5.629 MB / 382.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.001184/0.158, allocations: 0.512 MB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1582, allocations: 55.91 kB / 450.7 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.1582, allocations: 8 kB / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.1583, allocations: 27.92 kB / 450.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1586, allocations: 27.98 kB / 450.8 MB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1591, allocations: 218.1 kB / 451 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1593, allocations: 0.6926 MB / 451.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.457e-05/0.1594, allocations: 20.86 kB / 451.7 MB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1594, allocations: 23.42 kB / 451.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1595, allocations: 4 kB / 451.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of Templates: time 0.004924/0.1644, allocations: 1.858 MB / 453.6 MB, free: 2.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches