Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009567/0.0009566, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008372, allocations: 94.62 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3069/0.3069, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3194, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.4296, allocations: 88.27 MB / 0.5958 GB, free: 6.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4298, allocations: 83.92 kB / 0.5958 GB, free: 6.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01123/0.4411, allocations: 4.397 MB / 0.6001 GB, free: 2.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4411, allocations: 4 kB / 0.6001 GB, free: 2.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4412, allocations: 0 / 0.6001 GB, free: 2.391 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004307/0.4416, allocations: 402.9 kB / 0.6005 GB, free: 1.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4416, allocations: 8.031 kB / 0.6005 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.4417, allocations: 7.906 kB / 0.6005 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4419, allocations: 208.4 kB / 0.6007 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.442, allocations: 4 kB / 0.6007 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.442, allocations: 7.938 kB / 0.6007 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.4422, allocations: 76.25 kB / 0.6008 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4422, allocations: 3.906 kB / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4422, allocations: 8 kB / 0.6008 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4422, allocations: 4 kB / 0.6008 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4423, allocations: 51.95 kB / 0.6009 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.4428, allocations: 332.7 kB / 0.6012 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.443, allocations: 70.55 kB / 0.6013 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.443, allocations: 0 / 0.6013 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.443, allocations: 38.5 kB / 0.6013 GB, free: 1.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4431, allocations: 0 / 0.6013 GB, free: 1.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001147/0.4442, allocations: 353.5 kB / 0.6016 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4443, allocations: 51.41 kB / 0.6017 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4444, allocations: 142.7 kB / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4444, allocations: 29.7 kB / 0.6019 GB, free: 448 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.4445, allocations: 104 kB / 0.602 GB, free: 340 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.4445, allocations: 39.44 kB / 0.602 GB, free: 300 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.4446, allocations: 8 kB / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4447, allocations: 322.8 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.4448, allocations: 47.97 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.664e-05/0.4449, allocations: 47.97 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.445, allocations: 51.98 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.445, allocations: 0 / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002617/0.4453, allocations: 170.8 kB / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4453, allocations: 4 kB / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4453, allocations: 0 / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4453, allocations: 0 / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4455, allocations: 31.98 kB / 0.6026 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4455, allocations: 0 / 0.6026 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.4455, allocations: 8 kB / 0.6027 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4455, allocations: 11.94 kB / 0.6027 GB, free: 15.59 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.419e-05/0.4456, allocations: 126.3 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.4457, allocations: 11.91 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.446, allocations: 189.2 kB / 0.603 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4461, allocations: 4 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4461, allocations: 0 / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4461, allocations: 0 / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.4467, allocations: 0.5029 MB / 0.6035 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4467, allocations: 0 / 0.6035 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.4468, allocations: 27.98 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4468, allocations: 0 / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4468, allocations: 7.984 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4468, allocations: 7.938 kB / 0.6035 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4468, allocations: 0 / 0.6035 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.4471, allocations: 278 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.4472, allocations: 92.92 kB / 0.6039 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4472, allocations: 3.953 kB / 0.6039 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.4473, allocations: 15.98 kB / 0.6039 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.4474, allocations: 7.984 kB / 0.6039 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.4474, allocations: 4 kB / 0.6039 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.4475, allocations: 112.8 kB / 0.604 GB, free: 14.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4475, allocations: 4 kB / 0.604 GB, free: 14.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.4477, allocations: 31.98 kB / 0.604 GB, free: 14.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009696/0.4487, allocations: 467.4 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.449, allocations: 119.9 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.449, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4491, allocations: 67.84 kB / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.4493, allocations: 21.59 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.4498, allocations: 286.3 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4501, allocations: 0.7122 MB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.4502, allocations: 28.52 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.4502, allocations: 15.44 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4502, allocations: 0 / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of Templates: time 0.003626/0.4539, allocations: 1.465 MB / 0.6071 GB, free: 11.04 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches