Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3281/0.3281, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.261e-05, allocations: 9.406 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003143/0.003176, allocations: 1.727 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.005518, allocations: 0.9664 MB / 378 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.005622, allocations: 4 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.006002, allocations: 43.7 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.006366, allocations: 99.47 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.006594, allocations: 83.59 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.006789, allocations: 103.7 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.006881, allocations: 19.95 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.006999, allocations: 55.78 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.007099, allocations: 27.89 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.00712, allocations: 4 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.007227, allocations: 43.92 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.007287, allocations: 15.94 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.007345, allocations: 27.84 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.007585, allocations: 115.6 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.007587, allocations: 3.938 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.00759, allocations: 3.984 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.007595, allocations: 8 kB / 378.7 MB, free: 1.531 MB / 346.7 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.0006114/0.008206, allocations: 341.6 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.008245, allocations: 12.03 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.008308, allocations: 12.84 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.008575, allocations: 158.1 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.008588, allocations: 4.312 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.008615, allocations: 4.375 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.008769, allocations: 54.23 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.008782, allocations: 3.938 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.008792, allocations: 3.938 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.008798, allocations: 8 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.008874, allocations: 15.98 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.009279, allocations: 236.6 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.009467, allocations: 54.67 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.00954, allocations: 28.72 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.009557, allocations: 4 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.009719, allocations: 63.39 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.00972, allocations: 4 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000622/0.01034, allocations: 189.3 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01039, allocations: 51.41 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.01066, allocations: 211 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01068, allocations: 33.7 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.01077, allocations: 108 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.01081, allocations: 23.81 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.01086, allocations: 25.7 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.01106, allocations: 322.8 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.01113, allocations: 23.98 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.01122, allocations: 45.64 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01136, allocations: 61.64 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01136, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002256/0.01158, allocations: 109.6 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.0116, allocations: 4 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.0116, allocations: 0 / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.01162, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.01171, allocations: 16.36 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01172, allocations: 0 / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.01177, allocations: 12.03 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01178, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 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.0001475/0.01193, allocations: 141.6 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01196, allocations: 15.91 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.01225, allocations: 123.3 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.01226, allocations: 7.938 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01226, allocations: 3.938 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01227, allocations: 3.984 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.01278, allocations: 343 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01278, allocations: 11.97 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.01283, allocations: 11.98 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01283, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01284, allocations: 4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01284, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01284, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.01316, allocations: 220.2 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.01318, allocations: 11.91 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.0132, allocations: 4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.01328, allocations: 0 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01332, allocations: 19.97 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.01334, allocations: 4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.01352, allocations: 159.2 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01352, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.0138, allocations: 27.98 kB / 382 MB, free: 13.97 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.00225/0.01605, allocations: 494.8 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01626, allocations: 59.91 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01626, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.01634, allocations: 35.92 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.01674, allocations: 38 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.01725, allocations: 241.4 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.01736, allocations: 104.9 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.01742, allocations: 17.28 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.01746, allocations: 20.48 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01746, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.005762/0.02323, allocations: 1.865 MB / 384.8 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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: 4.8650596420047805]