Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, 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.001418/0.001418, 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.458/1.458, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2209/0.2209, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.84 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4435, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003221/0.4468, allocations: 1.677 MB / 0.5206 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4482, allocations: 0.8477 MB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.4483, allocations: 9.281 kB / 0.5214 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.4486, allocations: 50.88 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.4489, allocations: 55.73 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.4491, allocations: 111.8 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.4493, allocations: 91.83 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.4494, allocations: 9.359 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.4495, allocations: 40.58 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.4496, allocations: 26.03 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4496, allocations: 3.406 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.4497, allocations: 41.25 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.4498, allocations: 23.33 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.4498, allocations: 42 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.45, allocations: 117.9 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4501, allocations: 4 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4501, allocations: 0 / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4501, allocations: 1.156 kB / 0.522 GB, free: 1.574 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005252/0.4506, allocations: 426.7 kB / 0.5224 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4507, allocations: 10.25 kB / 0.5224 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.4507, allocations: 13.97 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.4509, allocations: 218 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.451, allocations: 6.234 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.451, allocations: 5.344 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.4511, allocations: 50.94 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4511, allocations: 0 / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4512, allocations: 0.75 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4512, allocations: 1.031 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.4513, allocations: 15.03 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.4515, allocations: 185.4 kB / 0.5229 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.4516, allocations: 61.69 kB / 0.523 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.4517, allocations: 23.69 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.4517, allocations: 1.719 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.4519, allocations: 64.03 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.4519, allocations: 0 / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002744/0.4522, allocations: 106.1 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.4522, allocations: 56.91 kB / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4525, allocations: 261.5 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.4525, allocations: 26.89 kB / 0.5235 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.4525, allocations: 110.6 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4526, allocations: 11.34 kB / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.4526, allocations: 24.72 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4527, allocations: 323.4 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.4528, allocations: 14.14 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.4529, allocations: 31.22 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.453, allocations: 45.81 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.453, allocations: 0 / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001637/0.4532, allocations: 89.44 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4532, allocations: 8.906 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4532, allocations: 0.75 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4532, allocations: 1.188 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.4533, allocations: 18.92 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4533, allocations: 1.344 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.4534, allocations: 6.922 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.4534, allocations: 2.234 kB / 0.5242 GB, free: 15.68 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 (7): * Single equations (assignments): 7 * 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.0001197/0.4535, allocations: 139.8 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.4535, allocations: 15.12 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.4536, allocations: 17.66 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4536, allocations: 1.906 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4536, allocations: 4 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4536, allocations: 0.6094 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4538, allocations: 197.1 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4538, allocations: 1.188 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4539, allocations: 3.141 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4539, allocations: 5.109 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4539, allocations: 1.781 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4539, allocations: 1.078 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4539, allocations: 1.188 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4541, allocations: 126.3 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.4542, allocations: 88.31 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4542, allocations: 1.797 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.4543, allocations: 6.047 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.4543, allocations: 4.125 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4544, allocations: 3.234 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.4546, allocations: 200.1 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4546, allocations: 0 / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.4548, allocations: 18.25 kB / 0.525 GB, free: 15 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001105/0.456, allocations: 409.8 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.4562, allocations: 44.61 kB / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4562, allocations: 0 / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.4563, allocations: 17.92 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4566, allocations: 37.95 kB / 0.5254 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.4574, allocations: 254 kB / 0.5257 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.4578, allocations: 0.7198 MB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.4578, allocations: 14.94 kB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.4579, allocations: 14.66 kB / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4579, allocations: 0 / 0.5264 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004886/0.4628, allocations: 1.51 MB / 0.5279 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches