Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009639/0.0009639, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001446/0.001446, allocations: 161 kB / 24.56 MB, free: 12 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 0.9905/0.9905, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2498/0.2498, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.493e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002353/0.002378, allocations: 1.777 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003669, allocations: 1.001 MB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.003754, allocations: 4 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.004071, allocations: 43.69 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.004384, allocations: 99.47 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.004578, allocations: 79.62 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.004998, allocations: 103.7 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.005088, allocations: 8 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.005177, allocations: 59.77 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.00525, allocations: 27.91 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.005267, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.005351, allocations: 47.92 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.0054, allocations: 15.92 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.00544, allocations: 27.84 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.00561, allocations: 99.66 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005613, allocations: 3.938 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005613, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005618, allocations: 0 / 379.5 MB, free: 1.168 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.0004511/0.006069, allocations: 447.9 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.006104, allocations: 8.031 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.006158, allocations: 16.84 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006331, allocations: 157.1 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.006349, allocations: 4.375 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.006369, allocations: 8.312 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.006493, allocations: 62.94 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.006504, allocations: 3.938 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.006513, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00652, allocations: 0 / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.006553, allocations: 11.98 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.006842, allocations: 287.8 kB / 380.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.006948, allocations: 51.17 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.006994, allocations: 31.55 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.007004, allocations: 0 / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.007108, allocations: 65.05 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007109, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000399/0.007508, allocations: 153.4 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.00754, allocations: 51.41 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.007673, allocations: 234.3 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.007688, allocations: 33.7 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.007742, allocations: 146.9 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.007769, allocations: 27.8 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.007804, allocations: 35.36 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.007916, allocations: 0.4923 MB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.007943, allocations: 12 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.007979, allocations: 35.3 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.008041, allocations: 55.67 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.008042, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001106/0.008153, allocations: 97.5 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.008166, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008172, allocations: 12.03 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.008186, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.008258, allocations: 12 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.008264, allocations: 3.984 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.008294, allocations: 8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.008301, allocations: 4 kB / 382 MB, free: 14.41 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 7.682e-05/0.008377, allocations: 164.5 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.008392, allocations: 11.95 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.008541, allocations: 107.3 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008544, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.008546, allocations: 11.88 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008551, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.008832, allocations: 389 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.008833, allocations: 3.938 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.008862, allocations: 11.98 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.008864, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.008874, allocations: 8 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008875, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008876, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.009015, allocations: 255.4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.009027, allocations: 15.94 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.009047, allocations: 7.984 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.009088, allocations: 4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.00912, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.009133, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.009205, allocations: 168.1 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009205, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.009381, allocations: 27.94 kB / 383.2 MB, free: 13.15 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.0009303/0.01031, allocations: 443.7 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01043, allocations: 47.61 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01043, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.01048, allocations: 35.61 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.01071, allocations: 31.97 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.01106, allocations: 218.3 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.0111, allocations: 63.34 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.01113, allocations: 25.08 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.01117, allocations: 20.5 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01117, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003901/0.01507, allocations: 2.005 MB / 386.1 MB, free: 10.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9700779267586768]