Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.002124/0.002124, 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.002509/0.002509, allocations: 191.3 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.519/1.519, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.238/0.238, allocations: 44.91 MB / 351.6 MB, free: 12.24 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 495.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3916, allocations: 64.24 MB / 0.5465 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003573/0.3952, allocations: 1.736 MB / 0.5482 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3969, allocations: 0.8952 MB / 0.549 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.397, allocations: 5.031 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.3973, allocations: 38.47 kB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.3976, allocations: 57.14 kB / 0.5491 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3979, allocations: 111.3 kB / 0.5492 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3981, allocations: 95.14 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3982, allocations: 6.906 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.3983, allocations: 44.44 kB / 0.5494 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.3984, allocations: 34.41 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3984, allocations: 2.844 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3986, allocations: 43.48 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.3986, allocations: 18.86 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.3987, allocations: 42.8 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.3989, allocations: 114 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3989, allocations: 1.406 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3989, allocations: 3.938 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3989, allocations: 0 / 0.5496 GB, free: 10.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006527/0.3996, allocations: 411.9 kB / 0.55 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3996, allocations: 12.39 kB / 0.55 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3997, allocations: 10.83 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4, allocations: 203.3 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4, allocations: 5.906 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.4, allocations: 10.77 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.4002, allocations: 54.3 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4002, allocations: 0 / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4002, allocations: 3.938 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4002, allocations: 1.469 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.193e-05/0.4003, allocations: 21.98 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.4007, allocations: 290.3 kB / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.4009, allocations: 52.19 kB / 0.5507 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.401, allocations: 24.19 kB / 0.5507 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.401, allocations: 1.25 kB / 0.5507 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.4012, allocations: 65.98 kB / 0.5507 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4012, allocations: 4 kB / 0.5507 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005977/0.4018, allocations: 169.7 kB / 0.5509 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.4018, allocations: 52.97 kB / 0.551 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.402, allocations: 186.6 kB / 0.5511 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.402, allocations: 31.8 kB / 0.5512 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.4021, allocations: 96.48 kB / 0.5513 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.4022, allocations: 31.33 kB / 0.5513 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4022, allocations: 24.38 kB / 0.5513 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4024, allocations: 330.6 kB / 0.5516 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.4024, allocations: 22.77 kB / 0.5516 GB, free: 8.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.4025, allocations: 35.92 kB / 0.5517 GB, free: 8.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4026, allocations: 62.64 kB / 0.5517 GB, free: 8.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4026, allocations: 5.625 kB / 0.5517 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.4028, allocations: 102.4 kB / 0.5518 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4028, allocations: 7.594 kB / 0.5518 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4028, allocations: 1.25 kB / 0.5518 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4028, allocations: 0 / 0.5518 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.4029, allocations: 18.2 kB / 0.5519 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4029, allocations: 0 / 0.5519 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.403, allocations: 10.25 kB / 0.5519 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.403, allocations: 3.656 kB / 0.5519 GB, free: 8.637 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.000111/0.4031, allocations: 130.1 kB / 0.552 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4031, allocations: 17.97 kB / 0.552 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.4034, allocations: 123 kB / 0.5521 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4034, allocations: 1.219 kB / 0.5521 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4034, allocations: 0 / 0.5521 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4034, allocations: 3.938 kB / 0.5521 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.4039, allocations: 385.2 kB / 0.5525 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4039, allocations: 1.281 kB / 0.5525 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.4039, allocations: 15.05 kB / 0.5525 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4039, allocations: 1.25 kB / 0.5525 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.404, allocations: 6.344 kB / 0.5525 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.404, allocations: 0 / 0.5525 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.404, allocations: 1.219 kB / 0.5525 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4042, allocations: 204.2 kB / 0.5527 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.4043, allocations: 88.67 kB / 0.5528 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4043, allocations: 9.125 kB / 0.5528 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.4044, allocations: 6.266 kB / 0.5528 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4044, allocations: 7.562 kB / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.4045, allocations: 3.25 kB / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.4046, allocations: 145.2 kB / 0.553 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4046, allocations: 0 / 0.553 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.4049, allocations: 25.25 kB / 0.553 GB, free: 7.617 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.001767/0.4066, allocations: 475.8 kB / 0.5535 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.4069, allocations: 56.14 kB / 0.5535 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4069, allocations: 0 / 0.5535 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.4069, allocations: 27.39 kB / 0.5535 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.4073, allocations: 36.7 kB / 0.5536 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.4079, allocations: 239 kB / 0.5538 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.4084, allocations: 0.7047 MB / 0.5545 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.4085, allocations: 17.88 kB / 0.5545 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.4085, allocations: 14.81 kB / 0.5545 GB, free: 6.414 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4085, allocations: 0 / 0.5545 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Templates: time 0.006298/0.4148, allocations: 1.726 MB / 0.5562 GB, free: 5.539 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.348699656315148]