Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001156, allocations: 112.2 kB / 17.74 MB, free: 5.43 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.001186/0.001186, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.398/1.398, allocations: 222.9 MB / 242.3 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.2223/0.2223, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4643, allocations: 60.82 MB / 0.5189 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003179/0.4675, allocations: 1.711 MB / 0.5206 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.4691, allocations: 0.8713 MB / 0.5214 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.4692, allocations: 1.375 kB / 0.5214 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.4696, allocations: 42.55 kB / 0.5215 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.4699, allocations: 54.14 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.4702, allocations: 109.3 kB / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.4705, allocations: 99.17 kB / 0.5217 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4706, allocations: 12.59 kB / 0.5217 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.4707, allocations: 40.7 kB / 0.5218 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.4708, allocations: 33.14 kB / 0.5218 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.4708, allocations: 4.125 kB / 0.5218 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.471, allocations: 46.05 kB / 0.5219 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.471, allocations: 17.72 kB / 0.5219 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.4711, allocations: 28.78 kB / 0.5219 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.4714, allocations: 108.1 kB / 0.522 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4714, allocations: 4 kB / 0.522 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4714, allocations: 1.125 kB / 0.522 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4714, allocations: 4 kB / 0.522 GB, free: 1.805 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.0006148/0.472, allocations: 405.5 kB / 0.5224 GB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4721, allocations: 9.719 kB / 0.5224 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.4721, allocations: 9.828 kB / 0.5224 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.4725, allocations: 213.8 kB / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4725, allocations: 1.531 kB / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.4725, allocations: 7.281 kB / 0.5226 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.4727, allocations: 53.92 kB / 0.5227 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4727, allocations: 4 kB / 0.5227 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4727, allocations: 1.859 kB / 0.5227 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4728, allocations: 0 / 0.5227 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.4728, allocations: 18.52 kB / 0.5227 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.4732, allocations: 285.8 kB / 0.523 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4734, allocations: 60.22 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.4735, allocations: 23.52 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4735, allocations: 1.812 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4737, allocations: 69.78 kB / 0.5231 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.4737, allocations: 0 / 0.5231 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006159/0.4743, allocations: 176.3 kB / 0.5233 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.4744, allocations: 64.59 kB / 0.5234 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4745, allocations: 171.2 kB / 0.5235 GB, free: 448 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4746, allocations: 30.36 kB / 0.5236 GB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.4746, allocations: 98.81 kB / 0.5236 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.4747, allocations: 22.62 kB / 0.5237 GB, free: 300 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.4747, allocations: 26.14 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4748, allocations: 325.8 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.4749, allocations: 21.78 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.475, allocations: 43.5 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.4751, allocations: 57.84 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4751, allocations: 0 / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.4753, allocations: 104.8 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4753, allocations: 4.969 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4754, allocations: 1.25 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4754, allocations: 1.781 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4755, allocations: 22.64 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4755, allocations: 1.188 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.4756, allocations: 6.641 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4756, allocations: 4.031 kB / 0.5243 GB, free: 15.8 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.0001088/0.4757, allocations: 123.2 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.4757, allocations: 9.312 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.4758, allocations: 15.48 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4758, allocations: 1.438 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4758, allocations: 4 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4758, allocations: 5.906 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.4763, allocations: 391.3 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4763, allocations: 2.156 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.4764, allocations: 8.484 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4764, allocations: 1.062 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4764, allocations: 6.031 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4764, allocations: 1.906 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4764, allocations: 3.938 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4767, allocations: 209.1 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.4768, allocations: 84.53 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.4768, allocations: 6.141 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.4769, allocations: 3.578 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4769, allocations: 9.531 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4769, allocations: 8.484 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4771, allocations: 131.5 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4771, allocations: 0 / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.4774, allocations: 20.75 kB / 0.5253 GB, free: 14.93 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.001183/0.4786, allocations: 476.4 kB / 0.5257 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4788, allocations: 52.3 kB / 0.5258 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4788, allocations: 0 / 0.5258 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.4789, allocations: 32.56 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4793, allocations: 30.39 kB / 0.5258 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.4798, allocations: 207.6 kB / 0.526 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.4801, allocations: 0.7031 MB / 0.5267 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.4801, allocations: 17.39 kB / 0.5267 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.4802, allocations: 17.42 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4802, allocations: 0 / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Templates: time 0.006037/0.4862, allocations: 1.692 MB / 0.5284 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches