Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001261, allocations: 112.8 kB / 17.78 MB, free: 5.254 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.001275/0.001275, allocations: 184.8 kB / 18.71 MB, free: 4.336 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2198/0.2198, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4665, allocations: 60.81 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003374/0.4699, allocations: 1.671 MB / 0.5206 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.4713, allocations: 0.8541 MB / 0.5214 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.4714, allocations: 1.312 kB / 0.5214 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.4718, allocations: 80.05 kB / 0.5215 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.4721, allocations: 79.98 kB / 0.5216 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.4724, allocations: 103.1 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.4726, allocations: 110.4 kB / 0.5218 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.4727, allocations: 10.06 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.4728, allocations: 53.64 kB / 0.5219 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.4729, allocations: 51.39 kB / 0.5219 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.473, allocations: 3.75 kB / 0.5219 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.4731, allocations: 33.56 kB / 0.5219 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.4731, allocations: 20.05 kB / 0.522 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.4732, allocations: 32.2 kB / 0.522 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.4734, allocations: 107.9 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4735, allocations: 4 kB / 0.5221 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4735, allocations: 0 / 0.5221 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4735, allocations: 1.156 kB / 0.5221 GB, free: 1.602 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.0005325/0.474, allocations: 408.5 kB / 0.5225 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4741, allocations: 9.688 kB / 0.5225 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.4741, allocations: 9.516 kB / 0.5225 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.4744, allocations: 207.6 kB / 0.5227 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4744, allocations: 1.406 kB / 0.5227 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4744, allocations: 7.094 kB / 0.5227 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4746, allocations: 53.41 kB / 0.5228 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4746, allocations: 0 / 0.5228 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4746, allocations: 2 kB / 0.5228 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.4746, allocations: 0 / 0.5228 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.155e-05/0.4747, allocations: 15.67 kB / 0.5228 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.4749, allocations: 192.1 kB / 0.523 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.4751, allocations: 53.17 kB / 0.523 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.4751, allocations: 23.55 kB / 0.523 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4752, allocations: 5.469 kB / 0.523 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4753, allocations: 64.89 kB / 0.5231 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.4753, allocations: 3.938 kB / 0.5231 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000297/0.4756, allocations: 100.1 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.4757, allocations: 57.3 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.4759, allocations: 211.2 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.4759, allocations: 25.7 kB / 0.5235 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.476, allocations: 103.9 kB / 0.5236 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.476, allocations: 12.86 kB / 0.5236 GB, free: 216 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.476, allocations: 18.34 kB / 0.5236 GB, free: 196 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4762, allocations: 327.8 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.4762, allocations: 13.66 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.4763, allocations: 30.88 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4764, allocations: 45.27 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4764, allocations: 0.75 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001781/0.4766, allocations: 84.66 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4766, allocations: 5.469 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4766, allocations: 4.938 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4766, allocations: 5.656 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.4767, allocations: 11.77 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4768, allocations: 0 / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.4768, allocations: 2.641 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4768, allocations: 6.812 kB / 0.5241 GB, free: 15.75 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.0001057/0.4769, allocations: 127.4 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.477, allocations: 12.75 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.477, allocations: 16.2 kB / 0.5243 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.477, allocations: 2.484 kB / 0.5243 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.477, allocations: 4 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.477, allocations: 0 / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4772, allocations: 188.3 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4772, allocations: 1.125 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.4773, allocations: 7.844 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4773, allocations: 0 / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4773, allocations: 2.672 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4773, allocations: 1.438 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4773, allocations: 4 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4775, allocations: 124.2 kB / 0.5246 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.4776, allocations: 89.72 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4776, allocations: 1.828 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.4777, allocations: 2.203 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.4777, allocations: 4.422 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.4777, allocations: 7.141 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4779, allocations: 155.5 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4779, allocations: 0 / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.4781, allocations: 19.2 kB / 0.5249 GB, free: 15.09 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.001092/0.4792, allocations: 417 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.4794, allocations: 36.78 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4794, allocations: 0.9062 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.4795, allocations: 22.12 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4798, allocations: 32.33 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.4803, allocations: 214.1 kB / 0.5256 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.4808, allocations: 0.7039 MB / 0.5262 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.4808, allocations: 15.56 kB / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.4809, allocations: 14.45 kB / 0.5263 GB, free: 13.99 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4809, allocations: 3.938 kB / 0.5263 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Templates: time 0.004894/0.4858, allocations: 1.493 MB / 0.5277 GB, free: 13.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches