Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 186.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 90.59 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3164/0.3164, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.706e-05, allocations: 7.984 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4314, allocations: 86.34 MB / 0.5571 GB, free: 2.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.4317, allocations: 67.97 kB / 0.5572 GB, free: 2.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009403/0.4411, allocations: 4.219 MB / 0.5613 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4411, allocations: 4 kB / 0.5613 GB, free: 14.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.4411, allocations: 0 / 0.5613 GB, free: 14.45 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003306/0.4415, allocations: 401.8 kB / 0.5617 GB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4415, allocations: 12.03 kB / 0.5617 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.4416, allocations: 15.25 kB / 0.5617 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.4418, allocations: 208.1 kB / 0.5619 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.4418, allocations: 0 / 0.5619 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4418, allocations: 4 kB / 0.5619 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.4419, allocations: 53.69 kB / 0.562 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.442, allocations: 3.938 kB / 0.562 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.442, allocations: 0.6875 kB / 0.562 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.442, allocations: 5.375 kB / 0.562 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.4421, allocations: 27.97 kB / 0.562 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.4424, allocations: 308.7 kB / 0.5623 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.4425, allocations: 54.52 kB / 0.5624 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.4425, allocations: 12.98 kB / 0.5624 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4426, allocations: 4 kB / 0.5624 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4426, allocations: 42.53 kB / 0.5624 GB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4426, allocations: 0 / 0.5624 GB, free: 13.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004005/0.443, allocations: 145.2 kB / 0.5625 GB, free: 13.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.443, allocations: 59.48 kB / 0.5626 GB, free: 12.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.4432, allocations: 207.7 kB / 0.5628 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4433, allocations: 25.7 kB / 0.5628 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.4433, allocations: 112 kB / 0.5629 GB, free: 12.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.4434, allocations: 23.66 kB / 0.563 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.4434, allocations: 0 / 0.563 GB, free: 12.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4435, allocations: 330.8 kB / 0.5633 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.4435, allocations: 16 kB / 0.5633 GB, free: 12.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.4435, allocations: 13.59 kB / 0.5633 GB, free: 12.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.4436, allocations: 16 kB / 0.5633 GB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4436, allocations: 0 / 0.5633 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001197/0.4437, allocations: 89.44 kB / 0.5634 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4437, allocations: 4 kB / 0.5634 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4437, allocations: 0 / 0.5634 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4438, allocations: 0 / 0.5634 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4439, allocations: 23.98 kB / 0.5634 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4439, allocations: 4.891 kB / 0.5634 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.444, allocations: 15.98 kB / 0.5634 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.444, allocations: 0 / 0.5634 GB, free: 12.06 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.444, allocations: 109 kB / 0.5636 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.4441, allocations: 7.906 kB / 0.5636 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.4443, allocations: 111.3 kB / 0.5637 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4443, allocations: 0 / 0.5637 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4443, allocations: 4 kB / 0.5637 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4443, allocations: 7.938 kB / 0.5637 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.4447, allocations: 396.5 kB / 0.5641 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4447, allocations: 4 kB / 0.5641 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.4448, allocations: 15.98 kB / 0.5641 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4448, allocations: 4 kB / 0.5641 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4448, allocations: 3.953 kB / 0.5641 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4448, allocations: 0 / 0.5641 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4448, allocations: 0 / 0.5641 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.445, allocations: 179.5 kB / 0.5643 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.445, allocations: 96.91 kB / 0.5643 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.4451, allocations: 4 kB / 0.5643 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.4452, allocations: 11.94 kB / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.4452, allocations: 7.938 kB / 0.5644 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4452, allocations: 4 kB / 0.5644 GB, free: 11.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.4453, allocations: 172.2 kB / 0.5645 GB, free: 10.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4454, allocations: 0 / 0.5645 GB, free: 10.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.4456, allocations: 32 kB / 0.5646 GB, free: 10.82 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007412/0.4463, allocations: 372.4 kB / 0.5649 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.4464, allocations: 47.92 kB / 0.565 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4465, allocations: 0 / 0.565 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.4465, allocations: 20 kB / 0.565 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.4467, allocations: 18.91 kB / 0.565 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.447, allocations: 198 kB / 0.5652 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4473, allocations: 0.7139 MB / 0.5659 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.4474, allocations: 20.95 kB / 0.5659 GB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.4474, allocations: 11.44 kB / 0.5659 GB, free: 9.453 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4474, allocations: 0 / 0.5659 GB, free: 9.453 MB / 394.7 MB Notification: Performance of Templates: time 0.003082/0.4505, allocations: 1.282 MB / 0.5672 GB, free: 8.176 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches