Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 109.4 kB / 17.78 MB, free: 5.25 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.001099/0.001099, allocations: 188.1 kB / 18.71 MB, free: 4.324 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.464/1.464, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2357/0.2357, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4499, allocations: 60.84 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003377/0.4533, allocations: 1.564 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.4549, allocations: 1.016 MB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.455, allocations: 7.938 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.4553, allocations: 23.89 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.4556, allocations: 45.72 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.4559, allocations: 80.61 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.4561, allocations: 59.38 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4563, allocations: 11.75 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.4564, allocations: 19.17 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.4565, allocations: 33.72 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.4566, allocations: 2.219 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.4567, allocations: 45.64 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.4568, allocations: 13.08 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.4568, allocations: 25.66 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.4571, allocations: 89.73 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4571, allocations: 1 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4572, allocations: 0 / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.4572, allocations: 0 / 0.5219 GB, free: 1.582 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.0005787/0.4578, allocations: 374.6 kB / 0.5222 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.4578, allocations: 13.59 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.4579, allocations: 15.97 kB / 0.5223 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.4581, allocations: 192.6 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4581, allocations: 1.438 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4581, allocations: 1.562 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4583, allocations: 70.28 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4583, allocations: 0 / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4583, allocations: 1.625 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4584, allocations: 4 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4585, allocations: 22.83 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.4589, allocations: 268 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.4591, allocations: 44.05 kB / 0.5228 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.4592, allocations: 20.67 kB / 0.5229 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.4592, allocations: 6.266 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4593, allocations: 32.83 kB / 0.5229 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4593, allocations: 0 / 0.5229 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006391/0.4599, allocations: 137.5 kB / 0.523 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.46, allocations: 79.73 kB / 0.5231 GB, free: 388 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4601, allocations: 134.5 kB / 0.5232 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4602, allocations: 27.52 kB / 0.5233 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.4602, allocations: 91.58 kB / 0.5234 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4603, allocations: 15.38 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.4603, allocations: 19.56 kB / 0.5234 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4605, allocations: 322.9 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.4606, allocations: 18.48 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.4607, allocations: 35.95 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4608, allocations: 46.89 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4608, allocations: 0 / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002551/0.4611, allocations: 80.22 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4611, allocations: 5.75 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4611, allocations: 0.7031 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4612, allocations: 256 / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.4612, allocations: 17.08 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4613, allocations: 4 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.4613, allocations: 5.031 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4613, allocations: 5.922 kB / 0.5239 GB, free: 15.69 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.0001419/0.4615, allocations: 118.6 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.4615, allocations: 8.547 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.4618, allocations: 91.03 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4618, allocations: 5.703 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4618, allocations: 0 / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4618, allocations: 1.703 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.4624, allocations: 345.8 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4624, allocations: 1.094 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.4625, allocations: 11.44 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4625, allocations: 1.219 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4625, allocations: 5.75 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4625, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4625, allocations: 0.5625 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.4628, allocations: 177.7 kB / 0.5246 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.4629, allocations: 79.11 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.4629, allocations: 5.984 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.463, allocations: 7.703 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.463, allocations: 7.875 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4631, allocations: 10.88 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.4632, allocations: 103 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4632, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.4634, allocations: 24.53 kB / 0.5249 GB, free: 14.81 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.001058/0.4645, allocations: 438 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4648, allocations: 44.91 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4648, allocations: 1.688 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.4649, allocations: 27.09 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.4652, allocations: 13.72 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.4656, allocations: 163.4 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.466, allocations: 0.6909 MB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.331e-05/0.4661, allocations: 11.97 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.4661, allocations: 15.14 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4661, allocations: 0 / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Templates: time 0.004641/0.4708, allocations: 1.368 MB / 0.5276 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches