Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.472/1.472, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007801/0.00078, allocations: 86.59 kB / 267.1 MB, free: 9.273 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.3203/0.3203, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.681e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.4323, allocations: 86.34 MB / 0.5571 GB, free: 2.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.4325, allocations: 67.25 kB / 0.5572 GB, free: 2.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008857/0.4413, allocations: 3.917 MB / 0.561 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4414, allocations: 0 / 0.561 GB, free: 14.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4414, allocations: 0 / 0.561 GB, free: 14.73 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.0003645/0.4418, allocations: 381.8 kB / 0.5614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4418, allocations: 8.031 kB / 0.5614 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.4418, allocations: 15.34 kB / 0.5614 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.4421, allocations: 191 kB / 0.5616 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.4421, allocations: 0 / 0.5616 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4421, allocations: 4 kB / 0.5616 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.4422, allocations: 53.62 kB / 0.5616 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4422, allocations: 3.938 kB / 0.5616 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4423, allocations: 0 / 0.5616 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4423, allocations: 5.375 kB / 0.5616 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.4423, allocations: 23.98 kB / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.4427, allocations: 300.8 kB / 0.562 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.4428, allocations: 55.06 kB / 0.562 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.4428, allocations: 12.98 kB / 0.562 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.4428, allocations: 4 kB / 0.562 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4429, allocations: 30.56 kB / 0.5621 GB, free: 13.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.4429, allocations: 4 kB / 0.5621 GB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004083/0.4433, allocations: 145 kB / 0.5622 GB, free: 13.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.4433, allocations: 51.41 kB / 0.5622 GB, free: 13.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4435, allocations: 137.1 kB / 0.5624 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4435, allocations: 29.69 kB / 0.5624 GB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.4436, allocations: 92.14 kB / 0.5625 GB, free: 13.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4436, allocations: 32.83 kB / 0.5625 GB, free: 13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.4436, allocations: 8 kB / 0.5625 GB, free: 12.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4437, allocations: 310.8 kB / 0.5628 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.4438, allocations: 20 kB / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.4438, allocations: 15.98 kB / 0.5629 GB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.4438, allocations: 18.27 kB / 0.5629 GB, free: 12.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4438, allocations: 0 / 0.5629 GB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.444, allocations: 81.44 kB / 0.563 GB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.444, allocations: 8 kB / 0.563 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.444, allocations: 0 / 0.563 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.444, allocations: 0 / 0.563 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4441, allocations: 23.98 kB / 0.563 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4441, allocations: 4.797 kB / 0.563 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.4442, allocations: 11.98 kB / 0.563 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4442, allocations: 4 kB / 0.563 GB, free: 12.49 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.085e-05/0.4443, allocations: 101 kB / 0.5631 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.4443, allocations: 11.91 kB / 0.5631 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.4445, allocations: 102.5 kB / 0.5632 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4445, allocations: 3.984 kB / 0.5632 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4445, allocations: 3.938 kB / 0.5632 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4445, allocations: 3.953 kB / 0.5632 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.4449, allocations: 374.4 kB / 0.5636 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4449, allocations: 0 / 0.5636 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.321e-05/0.445, allocations: 19.98 kB / 0.5636 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.445, allocations: 0 / 0.5636 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.445, allocations: 7.953 kB / 0.5636 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.445, allocations: 0 / 0.5636 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.445, allocations: 0 / 0.5636 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.4452, allocations: 183.4 kB / 0.5638 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.4452, allocations: 89.02 kB / 0.5639 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.4452, allocations: 0 / 0.5639 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.4453, allocations: 11.94 kB / 0.5639 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.4453, allocations: 8 kB / 0.5639 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4454, allocations: 7.938 kB / 0.5639 GB, free: 11.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.4454, allocations: 116.6 kB / 0.564 GB, free: 11.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4455, allocations: 0 / 0.564 GB, free: 11.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.4457, allocations: 31.92 kB / 0.564 GB, free: 11.34 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.0007372/0.4464, allocations: 369.4 kB / 0.5644 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.4465, allocations: 43.94 kB / 0.5644 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4466, allocations: 7.938 kB / 0.5644 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.4466, allocations: 28 kB / 0.5645 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4468, allocations: 11.98 kB / 0.5645 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.4471, allocations: 140.7 kB / 0.5646 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.4473, allocations: 0.6982 MB / 0.5653 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.4474, allocations: 16.97 kB / 0.5653 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.4474, allocations: 15.44 kB / 0.5653 GB, free: 10.04 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4474, allocations: 0 / 0.5653 GB, free: 10.04 MB / 394.7 MB Notification: Performance of Templates: time 0.002836/0.4503, allocations: 1.128 MB / 0.5664 GB, free: 8.922 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches