Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.002463/0.002463, allocations: 99.59 kB / 20.97 MB, free: 3.441 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.00273/0.00273, allocations: 157.7 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3307/0.3307, allocations: 32.8 MB / 293.9 MB, free: 1.191 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.603e-05, allocations: 2.312 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003544/0.00357, allocations: 1.765 MB / 377.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.005642, allocations: 1.002 MB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.00575, allocations: 3.938 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.006167, allocations: 107.6 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.006623, allocations: 131.4 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.00691, allocations: 87.59 kB / 378.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.007166, allocations: 139.6 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.007276, allocations: 21.52 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.007445, allocations: 75.8 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.007586, allocations: 67.8 kB / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.007611, allocations: 8 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.007772, allocations: 59.92 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.007855, allocations: 43.83 kB / 378.9 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.007912, allocations: 19.94 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.008214, allocations: 163.4 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.008218, allocations: 0 / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008219, allocations: 4 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.008224, allocations: 0 / 379 MB, free: 1.176 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007323/0.008956, allocations: 495.2 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.008991, allocations: 8.031 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.009068, allocations: 24.84 kB / 379.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.009352, allocations: 169.3 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.009371, allocations: 8.375 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.009394, allocations: 4.375 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.009571, allocations: 70.16 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.009597, allocations: 7.938 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.009608, allocations: 0 / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.009612, allocations: 0 / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.009726, allocations: 31.97 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.0103, allocations: 343.7 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.01066, allocations: 86.91 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.01075, allocations: 31.67 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01077, allocations: 8 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.01097, allocations: 77.05 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.01097, allocations: 112 / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001058/0.01203, allocations: 316.9 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.01208, allocations: 59.34 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.0124, allocations: 290.8 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.01243, allocations: 29.7 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01257, allocations: 170.8 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.01263, allocations: 47.64 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.01271, allocations: 47.36 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.01299, allocations: 0.5118 MB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01309, allocations: 43.97 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.01321, allocations: 63.3 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.01341, allocations: 107.1 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01341, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003308/0.01374, allocations: 165.5 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01376, allocations: 6.031 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01376, allocations: 0 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.01378, allocations: 8.031 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01389, allocations: 27.92 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01389, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.01395, allocations: 11.98 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.01397, allocations: 7.938 kB / 382.3 MB, free: 13.73 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 (16): * Single equations (assignments): 16 * 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.0001479/0.01411, allocations: 168.6 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.01416, allocations: 19.89 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.01458, allocations: 198.9 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01459, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.01459, allocations: 4 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.0146, allocations: 4 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.01541, allocations: 0.5241 MB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.01542, allocations: 3.984 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/0.0155, allocations: 23.94 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01551, allocations: 3.938 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.01553, allocations: 15.92 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01553, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01553, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.01597, allocations: 334.4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.016, allocations: 31.78 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.01604, allocations: 4 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.01612, allocations: 4 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.01617, allocations: 15.97 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.0162, allocations: 8 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.0164, allocations: 201.4 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0164, allocations: 0 / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.01669, allocations: 39.92 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.003862/0.02056, allocations: 0.5398 MB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.02085, allocations: 115.6 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02086, allocations: 0 / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.02099, allocations: 67.59 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.02139, allocations: 47.22 kB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.02206, allocations: 325.8 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.02221, allocations: 119.6 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.61e-05/0.02229, allocations: 25.47 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.02235, allocations: 24.48 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02235, allocations: 0 / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of Templates: time 0.006738/0.02909, allocations: 2.352 MB / 387.4 MB, free: 8.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.026188130024821]