Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 114.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.001203/0.001203, allocations: 183 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.416/1.416, 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.2309/0.2309, allocations: 44.2 MB / 336.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4448, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004095/0.449, allocations: 1.728 MB / 0.5207 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.4507, allocations: 0.8887 MB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.4508, allocations: 1.156 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.4512, allocations: 36.44 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.4515, allocations: 52.92 kB / 0.5216 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.4519, allocations: 110.4 kB / 0.5217 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.4521, allocations: 103 kB / 0.5218 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4522, allocations: 12.08 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4523, allocations: 46.67 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.4524, allocations: 41.64 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.4525, allocations: 4.906 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.4526, allocations: 64.69 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.4527, allocations: 15.03 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.4528, allocations: 35.3 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.453, allocations: 131.9 kB / 0.5222 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4531, allocations: 0.75 kB / 0.5222 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4531, allocations: 1.781 kB / 0.5222 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4531, allocations: 0 / 0.5222 GB, free: 1.492 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006316/0.4537, allocations: 418 kB / 0.5226 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4538, allocations: 9.406 kB / 0.5226 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.4538, allocations: 9.625 kB / 0.5226 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.4542, allocations: 205.6 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4542, allocations: 2.688 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.4542, allocations: 6.891 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.4544, allocations: 74.59 kB / 0.5229 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4545, allocations: 9.062 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4545, allocations: 0.7969 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4545, allocations: 0.9688 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.4546, allocations: 17.62 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.455, allocations: 271.9 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.4552, allocations: 71.78 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.4553, allocations: 28.77 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4553, allocations: 1.25 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.4555, allocations: 68.61 kB / 0.5233 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.906e-06/0.4555, allocations: 3.984 kB / 0.5233 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007329/0.4563, allocations: 202.3 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4563, allocations: 88.38 kB / 0.5236 GB, free: 192 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4565, allocations: 161.8 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.4565, allocations: 27.95 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.4566, allocations: 94.08 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.4567, allocations: 34.94 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.4567, allocations: 24.3 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4569, allocations: 325.8 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.457, allocations: 30.83 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.4571, allocations: 52.53 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.4572, allocations: 81.62 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4572, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002216/0.4574, allocations: 119.7 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4575, allocations: 5.594 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4575, allocations: 1.125 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4575, allocations: 5.828 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4576, allocations: 26.81 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4576, allocations: 1.922 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.4577, allocations: 2.891 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4577, allocations: 3.953 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.4578, allocations: 122.1 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.4579, allocations: 9.594 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.4579, allocations: 17.34 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4579, allocations: 5.797 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.458, allocations: 5.094 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.458, allocations: 0.7969 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.4586, allocations: 431.9 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4586, allocations: 0 / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.4587, allocations: 11.08 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4587, allocations: 2.609 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4587, allocations: 2 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4587, allocations: 1.312 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4587, allocations: 5.312 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.4591, allocations: 221 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.4591, allocations: 84.61 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.4592, allocations: 3.547 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.4593, allocations: 6.656 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.4593, allocations: 14.22 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4594, allocations: 4.891 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4595, allocations: 118.9 kB / 0.5256 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4595, allocations: 0 / 0.5256 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.4598, allocations: 38.08 kB / 0.5256 GB, free: 14.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001313/0.4611, allocations: 0.4989 MB / 0.5261 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.4614, allocations: 85.3 kB / 0.5262 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4614, allocations: 4.062 kB / 0.5262 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.4615, allocations: 38.05 kB / 0.5262 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.4618, allocations: 27.47 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.4623, allocations: 200.6 kB / 0.5264 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4626, allocations: 0.714 MB / 0.5271 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.4627, allocations: 22.58 kB / 0.5271 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.4628, allocations: 23.14 kB / 0.5272 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4628, allocations: 3.938 kB / 0.5272 GB, free: 13.33 MB / 398.1 MB Notification: Performance of Templates: time 0.005818/0.4686, allocations: 2.121 MB / 0.5292 GB, free: 12.54 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches