Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00237/0.00237, allocations: 191.4 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 44.91 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 179] 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 495.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4123, allocations: 64.25 MB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004192/0.4165, allocations: 2.26 MB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.4189, allocations: 1.212 MB / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.4191, allocations: 11.72 kB / 0.5499 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.4196, allocations: 137.6 kB / 0.55 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.42, allocations: 189 kB / 0.5502 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.4208, allocations: 328.5 kB / 0.5505 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.4213, allocations: 427.7 kB / 0.5509 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.4215, allocations: 43.94 kB / 0.551 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.4219, allocations: 330.8 kB / 0.5513 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.4222, allocations: 168.6 kB / 0.5514 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.4222, allocations: 15.84 kB / 0.5515 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.4224, allocations: 69.98 kB / 0.5515 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4226, allocations: 148.6 kB / 0.5517 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.4228, allocations: 199.5 kB / 0.5519 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.4235, allocations: 465.8 kB / 0.5523 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4235, allocations: 5 kB / 0.5523 GB, free: 8.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.4235, allocations: 4 kB / 0.5523 GB, free: 8.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.4235, allocations: 0 / 0.5523 GB, free: 8.914 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001728/0.4252, allocations: 0.8792 MB / 0.5532 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4253, allocations: 9.469 kB / 0.5532 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.4255, allocations: 73.69 kB / 0.5532 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.4264, allocations: 439.2 kB / 0.5537 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.4264, allocations: 14.12 kB / 0.5537 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.4265, allocations: 22.2 kB / 0.5537 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.4271, allocations: 196.6 kB / 0.5539 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.4271, allocations: 1.312 kB / 0.5539 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.4272, allocations: 5.219 kB / 0.5539 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4272, allocations: 3.875 kB / 0.5539 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4275, allocations: 102.6 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.429, allocations: 0.8084 MB / 0.5548 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.4299, allocations: 236.4 kB / 0.555 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.4301, allocations: 85.48 kB / 0.5551 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.4301, allocations: 4.344 kB / 0.5551 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.4307, allocations: 210.1 kB / 0.5553 GB, free: 6.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.532e-06/0.4307, allocations: 0 / 0.5553 GB, free: 6.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002874/0.4336, allocations: 1.177 MB / 0.5564 GB, free: 5.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.4337, allocations: 144.5 kB / 0.5566 GB, free: 5.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.4348, allocations: 0.926 MB / 0.5575 GB, free: 4.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4348, allocations: 41.69 kB / 0.5575 GB, free: 4.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.435, allocations: 253 kB / 0.5578 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.4352, allocations: 142.8 kB / 0.5579 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.4353, allocations: 82.08 kB / 0.558 GB, free: 3.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4355, allocations: 382.8 kB / 0.5584 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.4358, allocations: 112.8 kB / 0.5585 GB, free: 3.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.436, allocations: 183.2 kB / 0.5586 GB, free: 3.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.4366, allocations: 323 kB / 0.5589 GB, free: 2.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4366, allocations: 0 / 0.5589 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007736/0.4373, allocations: 449 kB / 0.5594 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4374, allocations: 6.469 kB / 0.5594 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4374, allocations: 8 kB / 0.5594 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.4374, allocations: 0 / 0.5594 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.4377, allocations: 91.83 kB / 0.5595 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.4377, allocations: 4 kB / 0.5595 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.4378, allocations: 23.92 kB / 0.5595 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.4379, allocations: 16 kB / 0.5595 GB, free: 2.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003556/0.4382, allocations: 259.8 kB / 0.5598 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4384, allocations: 75.53 kB / 0.5598 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.4394, allocations: 0.495 MB / 0.5603 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4394, allocations: 4 kB / 0.5603 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4394, allocations: 0 / 0.5603 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.4394, allocations: 11.92 kB / 0.5603 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.4413, allocations: 1.322 MB / 0.5616 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4413, allocations: 4 kB / 0.5616 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.4415, allocations: 64.16 kB / 0.5617 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.4415, allocations: 8 kB / 0.5617 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.4415, allocations: 15.98 kB / 0.5617 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.4415, allocations: 8 kB / 0.5617 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.4415, allocations: 7.938 kB / 0.5617 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.4425, allocations: 0.7894 MB / 0.5625 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.4427, allocations: 180.6 kB / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.4428, allocations: 16 kB / 0.5627 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.443, allocations: 15.98 kB / 0.5627 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.4431, allocations: 39.89 kB / 0.5627 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.4432, allocations: 20 kB / 0.5628 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.444, allocations: 0.6786 MB / 0.5634 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.444, allocations: 4 kB / 0.5634 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.4446, allocations: 87.92 kB / 0.5635 GB, free: 13.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00202/0.4466, allocations: 0.5285 MB / 0.564 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006757/0.4473, allocations: 303.7 kB / 0.5643 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4473, allocations: 4.25 kB / 0.5643 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.4476, allocations: 144.1 kB / 0.5645 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/0.4485, allocations: 136.7 kB / 0.5646 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.4509, allocations: 1.19 MB / 0.5657 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.4516, allocations: 0.9075 MB / 0.5666 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.4519, allocations: 87.17 kB / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.452, allocations: 55.41 kB / 0.5668 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.525e-06/0.452, allocations: 0 / 0.5668 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01356/0.4656, allocations: 5.563 MB / 0.5722 GB, free: 5.129 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.646357509307563]