Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.00111/0.001109, allocations: 187.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.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1979/0.1979, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.84 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3988, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002983/0.4018, allocations: 1.666 MB / 0.5206 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4031, allocations: 0.8554 MB / 0.5214 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.4032, allocations: 5.125 kB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.4035, allocations: 46.12 kB / 0.5215 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.4038, allocations: 65.03 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.4041, allocations: 106.8 kB / 0.5217 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.4043, allocations: 89.33 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.4043, allocations: 5.062 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.4044, allocations: 40.31 kB / 0.5218 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.4045, allocations: 29.11 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.4046, allocations: 3.562 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.4046, allocations: 33.42 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.4047, allocations: 27.61 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.4048, allocations: 42.64 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.405, allocations: 116 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.405, allocations: 2.344 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.405, allocations: 0 / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.405, allocations: 0 / 0.522 GB, free: 1.594 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.0004709/0.4055, allocations: 427 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4056, allocations: 8.75 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.4056, allocations: 15.31 kB / 0.5225 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4058, allocations: 218 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4059, allocations: 1.375 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.4059, allocations: 6.859 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.406, allocations: 50.42 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.406, allocations: 3.938 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.4061, allocations: 1.156 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4061, allocations: 0 / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.4061, allocations: 15.48 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.4063, allocations: 190.4 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.4065, allocations: 57.19 kB / 0.523 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.4065, allocations: 22.61 kB / 0.523 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4065, allocations: 5.109 kB / 0.523 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.4067, allocations: 70.08 kB / 0.5231 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.4067, allocations: 0 / 0.5231 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002671/0.407, allocations: 101 kB / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.407, allocations: 55.97 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.4073, allocations: 262 kB / 0.5235 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.4073, allocations: 26.8 kB / 0.5235 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.4073, allocations: 111.6 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.4074, allocations: 11.22 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.4074, allocations: 24.62 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4075, allocations: 328.3 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.4076, allocations: 14.48 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.4077, allocations: 24.48 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/0.4078, allocations: 47.69 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4078, allocations: 0 / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.4079, allocations: 91.03 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.408, allocations: 3.875 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.408, allocations: 4.141 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.408, allocations: 3.25 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.4081, allocations: 12.77 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4081, allocations: 5.594 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.4082, allocations: 7.406 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.4082, allocations: 2.938 kB / 0.5242 GB, free: 15.69 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.0001115/0.4083, allocations: 134.9 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.4083, allocations: 22.78 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.4084, allocations: 18.88 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4084, allocations: 1.031 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4084, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4084, allocations: 1.688 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.4086, allocations: 193.9 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4086, allocations: 0 / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.4086, allocations: 4.5 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4086, allocations: 0 / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4086, allocations: 2.125 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4086, allocations: 8 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4086, allocations: 5.969 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.4088, allocations: 117.4 kB / 0.5246 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.4089, allocations: 90.03 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4089, allocations: 0.5156 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.409, allocations: 2.969 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.409, allocations: 8.25 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.409, allocations: 6.938 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.4092, allocations: 199.2 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.223e-06/0.4092, allocations: 1.281 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.4094, allocations: 21.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.0008814/0.4103, allocations: 411.4 kB / 0.5253 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.4105, allocations: 44.41 kB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4105, allocations: 0 / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.4106, allocations: 21.95 kB / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.4108, allocations: 30.12 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.4113, allocations: 254.5 kB / 0.5257 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4116, allocations: 0.7169 MB / 0.5264 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.4116, allocations: 10.56 kB / 0.5264 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.4117, allocations: 22.91 kB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4117, allocations: 0 / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.0043/0.416, allocations: 1.534 MB / 0.5279 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches