Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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 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 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) 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2569/0.2569, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4529, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003156/0.4561, allocations: 1.564 MB / 0.5204 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.4577, allocations: 1.016 MB / 0.5214 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.4579, allocations: 9.031 kB / 0.5214 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.4581, allocations: 23.36 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.4584, allocations: 46.25 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.4588, allocations: 83.91 kB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.4589, allocations: 55.64 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4591, allocations: 11.83 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.4591, allocations: 23.05 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.4593, allocations: 33.08 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.4593, allocations: 3.375 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.4595, allocations: 50.41 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.4595, allocations: 13.03 kB / 0.5218 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.4596, allocations: 21.19 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4598, allocations: 86.19 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4598, allocations: 0 / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.91e-06/0.4598, allocations: 1.312 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4599, allocations: 7.875 kB / 0.5219 GB, free: 1.594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004826/0.4603, allocations: 378.1 kB / 0.5222 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4604, allocations: 9.531 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.4604, allocations: 11.06 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.4606, allocations: 189 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.4606, allocations: 1.719 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.4607, allocations: 1.781 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4609, allocations: 65.97 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4609, allocations: 3.938 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4609, allocations: 5.375 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4609, allocations: 0 / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.461, allocations: 23.06 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4614, allocations: 267.9 kB / 0.5228 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.4616, allocations: 43.94 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.4616, allocations: 21.86 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4617, allocations: 1.062 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.4617, allocations: 32.28 kB / 0.5229 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4617, allocations: 0 / 0.5229 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005691/0.4623, allocations: 142.4 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4623, allocations: 79.92 kB / 0.5231 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4625, allocations: 139 kB / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4625, allocations: 29.7 kB / 0.5233 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.4625, allocations: 89.89 kB / 0.5233 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.4625, allocations: 19.27 kB / 0.5234 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.4626, allocations: 13.89 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4627, allocations: 323.3 kB / 0.5237 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.4628, allocations: 19.45 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.4629, allocations: 34.66 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.463, allocations: 47.14 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4631, allocations: 0 / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002122/0.4633, allocations: 85.12 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4633, allocations: 5.031 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4633, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4633, allocations: 5.438 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.4634, allocations: 12.17 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4634, allocations: 5.656 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.4635, allocations: 4.594 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4635, allocations: 5.734 kB / 0.5239 GB, free: 15.7 MB / 398.1 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 0.0001045/0.4636, allocations: 118 kB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4636, allocations: 7.828 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.4639, allocations: 95.95 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4639, allocations: 1.312 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.464, allocations: 3.938 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.464, allocations: 2 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.4645, allocations: 342.6 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4645, allocations: 0 / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.4646, allocations: 15.34 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4646, allocations: 1.125 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4646, allocations: 10 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4646, allocations: 4.125 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4646, allocations: 5.25 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4649, allocations: 173.4 kB / 0.5246 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.4649, allocations: 79.64 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.465, allocations: 0.7031 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.465, allocations: 12.41 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.4651, allocations: 4.984 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.4651, allocations: 1.469 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.284e-05/0.4652, allocations: 102.6 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4652, allocations: 0 / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.4655, allocations: 24.47 kB / 0.5249 GB, free: 14.82 MB / 398.1 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.001201/0.4667, allocations: 442.9 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.467, allocations: 45.14 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.467, allocations: 0 / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.4671, allocations: 23.7 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.4675, allocations: 14.72 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.468, allocations: 162.7 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.4683, allocations: 0.6911 MB / 0.5262 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.4684, allocations: 11.86 kB / 0.5262 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.4684, allocations: 19.38 kB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4684, allocations: 0 / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.004906/0.4733, allocations: 1.368 MB / 0.5276 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches