Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.00123, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001354/0.001354, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.53/1.53, 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.2529/0.2529, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5066, allocations: 60.83 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004297/0.511, allocations: 1.715 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.5129, allocations: 0.877 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.513, allocations: 0 / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.5134, allocations: 47.5 kB / 0.5216 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.5137, allocations: 56.92 kB / 0.5216 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.5141, allocations: 110.8 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.5143, allocations: 99.53 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.5144, allocations: 12.48 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.5146, allocations: 41.59 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.5146, allocations: 29.16 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.5147, allocations: 4.562 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.5148, allocations: 42.83 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.5149, allocations: 21.03 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.515, allocations: 44.81 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.5152, allocations: 124.7 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5152, allocations: 0.8125 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5152, allocations: 0 / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5153, allocations: 1.125 kB / 0.5221 GB, free: 1.523 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.0006486/0.5159, allocations: 425.2 kB / 0.5225 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.516, allocations: 8.562 kB / 0.5225 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.516, allocations: 19.38 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.5164, allocations: 203.9 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5164, allocations: 6.562 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.5164, allocations: 15.25 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.5166, allocations: 53.16 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5166, allocations: 0.75 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5166, allocations: 1.125 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5166, allocations: 0 / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.5167, allocations: 18.55 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.5171, allocations: 293.3 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.5173, allocations: 65.23 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.5174, allocations: 19.25 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.5174, allocations: 1.922 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.5176, allocations: 69.8 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5176, allocations: 4 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.5181, allocations: 173 kB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5182, allocations: 58.23 kB / 0.5235 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.5184, allocations: 218.8 kB / 0.5237 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5185, allocations: 31.62 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.5185, allocations: 104.6 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.5186, allocations: 21.48 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.5186, allocations: 21.95 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5188, allocations: 336.9 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.5189, allocations: 21.22 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.5189, allocations: 35.95 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.5191, allocations: 59.7 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5191, allocations: 1.125 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002223/0.5193, allocations: 109.8 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5193, allocations: 5.906 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5193, allocations: 0 / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5194, allocations: 1.656 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.5195, allocations: 22.94 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5195, allocations: 2.688 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.5195, allocations: 6.25 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5195, allocations: 2.594 kB / 0.5245 GB, free: 15.48 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 (10): * Single equations (assignments): 10 * 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.0001234/0.5197, allocations: 137.9 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.5197, allocations: 20.08 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.5198, allocations: 17.53 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5198, allocations: 5.344 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5198, allocations: 0 / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5198, allocations: 4.594 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.5205, allocations: 398.5 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5205, allocations: 0 / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.5205, allocations: 8.984 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5205, allocations: 5.188 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.5205, allocations: 11.45 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5206, allocations: 384 / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5206, allocations: 1.031 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.5209, allocations: 202.2 kB / 0.5252 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.5209, allocations: 85.59 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.521, allocations: 14.08 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.521, allocations: 6.812 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.5211, allocations: 5.031 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5211, allocations: 4.609 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.5214, allocations: 175.4 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5214, allocations: 0 / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.5217, allocations: 22.17 kB / 0.5255 GB, free: 14.57 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 (8): * Single equations (assignments): 6 * 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.001288/0.523, allocations: 467.6 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.5232, allocations: 55.66 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5232, allocations: 0 / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.5233, allocations: 37.33 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.5237, allocations: 34.73 kB / 0.5261 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.5244, allocations: 249.3 kB / 0.5263 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.525, allocations: 0.7139 MB / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.5251, allocations: 18.11 kB / 0.527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5251, allocations: 18.83 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5251, allocations: 0 / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Templates: time 0.006277/0.5314, allocations: 1.731 MB / 0.5288 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches