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.001093/0.001093, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001105/0.001105, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2274/0.2274, allocations: 44.17 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4482, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003842/0.4521, allocations: 1.572 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.454, allocations: 1.008 MB / 0.5214 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.454, allocations: 5.344 kB / 0.5214 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4543, allocations: 23.84 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.4546, allocations: 44.69 kB / 0.5215 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.4549, allocations: 84.72 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4551, allocations: 59.09 kB / 0.5216 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4552, allocations: 12.31 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.4553, allocations: 19.42 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.4554, allocations: 29.64 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.4554, allocations: 7.312 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.4556, allocations: 45.83 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.4556, allocations: 16.22 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.4557, allocations: 25.97 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.4559, allocations: 81.19 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4559, allocations: 5.156 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4559, allocations: 0 / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.456, allocations: 0 / 0.5219 GB, free: 1.57 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.000537/0.4565, allocations: 378.8 kB / 0.5222 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4566, allocations: 13.66 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.4566, allocations: 11.67 kB / 0.5223 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4568, allocations: 188.6 kB / 0.5224 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.4568, allocations: 1.438 kB / 0.5224 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.4569, allocations: 5.469 kB / 0.5225 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.457, allocations: 66.12 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4571, allocations: 1.094 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4571, allocations: 0 / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4571, allocations: 5.25 kB / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4572, allocations: 25.36 kB / 0.5225 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.4576, allocations: 269.6 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.4578, allocations: 42.94 kB / 0.5228 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.4578, allocations: 14 kB / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4579, allocations: 6.359 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.4579, allocations: 34.56 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4579, allocations: 0.9375 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005586/0.4585, allocations: 138.7 kB / 0.523 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4585, allocations: 79.31 kB / 0.5231 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4586, allocations: 138.8 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.4587, allocations: 25.7 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.4587, allocations: 93.19 kB / 0.5233 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.4587, allocations: 14.78 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4588, allocations: 19.7 kB / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4589, allocations: 323.1 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.459, allocations: 14.72 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.4591, allocations: 46.84 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4592, allocations: 42.61 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4592, allocations: 0.7031 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001728/0.4594, allocations: 75.83 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4594, allocations: 7.938 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4594, allocations: 2.016 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4595, allocations: 0 / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.4595, allocations: 17.03 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4595, allocations: 0 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.4596, allocations: 9.844 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4596, allocations: 8.938 kB / 0.5239 GB, free: 15.67 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 9.22e-05/0.4597, allocations: 119.1 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.4597, allocations: 7.281 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.46, allocations: 91.33 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.46, allocations: 1.484 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.46, allocations: 1 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.46, allocations: 0 / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.4605, allocations: 347.5 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4605, allocations: 0 / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.4605, allocations: 13.16 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4606, allocations: 0 / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4606, allocations: 5.5 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4606, allocations: 7.938 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4606, allocations: 2.062 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.4608, allocations: 179.4 kB / 0.5246 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4609, allocations: 80.33 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.4609, allocations: 1.062 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.461, allocations: 12.25 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.4611, allocations: 9.5 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.4611, allocations: 1.312 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.396e-05/0.4612, allocations: 103.1 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4612, allocations: 0 / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.4614, allocations: 24.41 kB / 0.5249 GB, free: 14.8 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.001062/0.4625, allocations: 443.6 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4627, allocations: 44.48 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4627, allocations: 1.344 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.4628, allocations: 27 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.4631, allocations: 15.09 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.4635, allocations: 159.4 kB / 0.5255 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4639, allocations: 0.6903 MB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.398e-05/0.4639, allocations: 11.22 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.464, allocations: 14.72 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.464, allocations: 0 / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004668/0.4687, allocations: 1.376 MB / 0.5276 GB, free: 13.4 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