Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009853/0.0009852, allocations: 104.8 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.385/0.385, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009958/0.0009959, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3645, allocations: 62.02 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002782/0.3673, allocations: 1.65 MB / 0.5168 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3687, allocations: 1.136 MB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.3688, allocations: 0 / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.369, allocations: 14.41 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3691, allocations: 72.16 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.3693, allocations: 72.88 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.3694, allocations: 70.88 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.379e-05/0.3695, allocations: 9.344 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.3695, allocations: 20.53 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3697, allocations: 34.5 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3697, allocations: 3.312 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3698, allocations: 94.45 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.3698, allocations: 10.83 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.3699, allocations: 25.62 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3701, allocations: 135 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3701, allocations: 0 / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3701, allocations: 0 / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.3701, allocations: 0 / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003288/0.3704, allocations: 401 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.3705, allocations: 9 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.3705, allocations: 7.781 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3706, allocations: 200 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.3706, allocations: 384 / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3707, allocations: 6.75 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.3708, allocations: 67.88 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3708, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.3708, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3708, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.3709, allocations: 25.8 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.3711, allocations: 284.4 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3712, allocations: 42 kB / 0.5194 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.3713, allocations: 18.67 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3713, allocations: 0 / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.3713, allocations: 40.77 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3713, allocations: 4 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003848/0.3717, allocations: 134.6 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3718, allocations: 77.11 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3719, allocations: 150.6 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.3719, allocations: 28.61 kB / 0.5198 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.3719, allocations: 90.98 kB / 0.5199 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.3719, allocations: 22.2 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.372, allocations: 20.5 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.372, allocations: 324.9 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.3721, allocations: 12.14 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.3722, allocations: 35.23 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3723, allocations: 49.39 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3723, allocations: 2.812 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.3724, allocations: 85.95 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.3725, allocations: 2.906 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.3725, allocations: 2.875 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3725, allocations: 0 / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.3725, allocations: 12.12 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.3725, allocations: 0 / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.3726, allocations: 6.266 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3726, allocations: 10.88 kB / 0.5205 GB, free: 33.62 MB / 378.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 (5): * Single equations (assignments): 5 * 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 5.034e-05/0.3727, allocations: 113.7 kB / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3727, allocations: 9.719 kB / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.3729, allocations: 88.66 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3729, allocations: 0 / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3729, allocations: 2.906 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.3729, allocations: 0 / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.3732, allocations: 356.4 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3732, allocations: 0 / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.3733, allocations: 12.66 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3733, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.3733, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3733, allocations: 10.22 kB / 0.5211 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3733, allocations: 0 / 0.5211 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.3737, allocations: 0.7552 MB / 0.5218 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.3737, allocations: 83.83 kB / 0.5219 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3737, allocations: 3.328 kB / 0.5219 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3738, allocations: 6.812 kB / 0.5219 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.3738, allocations: 10.05 kB / 0.5219 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3738, allocations: 2.688 kB / 0.5219 GB, free: 32.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.3739, allocations: 109.6 kB / 0.522 GB, free: 32.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3739, allocations: 3.938 kB / 0.522 GB, free: 32.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.3742, allocations: 42.42 kB / 0.522 GB, free: 32.15 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008961/0.3751, allocations: 492.7 kB / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3753, allocations: 50.23 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3753, allocations: 0 / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.3754, allocations: 26.38 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3757, allocations: 21.14 kB / 0.5226 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.376, allocations: 296 kB / 0.5229 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3762, allocations: 0.6968 MB / 0.5236 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.3762, allocations: 5.75 kB / 0.5236 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3763, allocations: 16.39 kB / 0.5236 GB, free: 30.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3763, allocations: 0 / 0.5236 GB, free: 30.89 MB / 378.7 MB Notification: Performance of Templates: time 0.003235/0.3795, allocations: 1.733 MB / 0.5253 GB, free: 30.69 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches