Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001758/0.001758, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00195/0.00195, allocations: 161.6 kB / 24.27 MB, free: 152 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.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3894/0.3894, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 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.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.989e-06/4.989e-06, allocations: 3.984 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.226e-05, allocations: 6.312 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003517/0.003549, allocations: 1.731 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.005478, allocations: 1 MB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.005552, allocations: 0 / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.005835, allocations: 39.77 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.006159, allocations: 107.4 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.006371, allocations: 79.66 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.006576, allocations: 107.6 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.006656, allocations: 8 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.006776, allocations: 55.83 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.006854, allocations: 23.91 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.006876, allocations: 4 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.006985, allocations: 51.86 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.007049, allocations: 27.84 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.007094, allocations: 15.94 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.007326, allocations: 119.6 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007329, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.00733, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.007335, allocations: 4 kB / 378.7 MB, free: 1.516 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.0006543/0.007989, allocations: 451.5 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.008025, allocations: 15.97 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.008082, allocations: 12.84 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.008343, allocations: 168.8 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.008355, allocations: 384 / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.008375, allocations: 4.375 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.008522, allocations: 50.23 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.008536, allocations: 3.938 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.008547, allocations: 4 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.008551, allocations: 4 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.008625, allocations: 15.98 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.009055, allocations: 299.8 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.009244, allocations: 59.17 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.009308, allocations: 27.61 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.009325, allocations: 3.984 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.009492, allocations: 73.05 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.009493, allocations: 0 / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000591/0.01008, allocations: 189.3 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.01015, allocations: 63.34 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.01042, allocations: 249.9 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.01045, allocations: 29.7 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01056, allocations: 158.8 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.0106, allocations: 27.81 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.01066, allocations: 31.36 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.01093, allocations: 0.5001 MB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.01099, allocations: 20 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.01107, allocations: 39.36 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01121, allocations: 75.23 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01121, allocations: 4 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002241/0.01143, allocations: 101.6 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01145, allocations: 4 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01145, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01147, allocations: 4 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.01156, allocations: 16.31 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01157, allocations: 0 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.01162, allocations: 11.98 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01163, allocations: 3.938 kB / 381.4 MB, free: 14.62 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.0001516/0.01178, allocations: 176.5 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.01181, allocations: 15.91 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.01209, allocations: 123.2 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01209, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.01209, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.0121, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.01266, allocations: 424.9 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01266, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.0127, allocations: 12 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.0127, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01271, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.01272, allocations: 8.031 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01272, allocations: 0 / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.01305, allocations: 271.4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.01307, allocations: 11.91 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.0131, allocations: 4 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.01318, allocations: 4 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01322, allocations: 11.92 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01324, allocations: 4 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.01341, allocations: 192.1 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01341, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.01367, allocations: 24 kB / 382.6 MB, free: 13.28 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.003529/0.0172, allocations: 496.7 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.01746, allocations: 75.52 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.01747, allocations: 4.062 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.01756, allocations: 43.61 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.01796, allocations: 35.95 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.01855, allocations: 229.9 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.01867, allocations: 92.8 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.01873, allocations: 21.34 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.01877, allocations: 20.48 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01878, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.005986/0.02476, allocations: 1.877 MB / 385.5 MB, free: 10.58 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.268240656005219]