Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001343/0.001343, allocations: 85.64 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001452/0.001452, allocations: 170.6 kB / 23.96 MB, free: 4.148 MB / 14.72 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.481/1.481, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.049e-05, allocations: 5.656 kB / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003113/0.003144, allocations: 1.677 MB / 444.4 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.004985, allocations: 0.9548 MB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.00507, allocations: 0 / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.005396, allocations: 55.69 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.005787, allocations: 103.5 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.006047, allocations: 75.67 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.006259, allocations: 103.6 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.006303, allocations: 4.234 kB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.006424, allocations: 51.78 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.006516, allocations: 27.91 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.00654, allocations: 4 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.006647, allocations: 35.92 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.006715, allocations: 27.86 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.006771, allocations: 19.92 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.00702, allocations: 127.5 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.007025, allocations: 4 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.007026, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007031, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006287/0.00766, allocations: 357.4 kB / 446.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.007698, allocations: 19.97 kB / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.007756, allocations: 12.84 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.008024, allocations: 166.4 kB / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.008041, allocations: 4.359 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.008055, allocations: 4.375 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.008212, allocations: 46.23 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.008222, allocations: 3.938 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.008233, allocations: 0 / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.008238, allocations: 0 / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.008318, allocations: 19.98 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.008522, allocations: 145.3 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.008708, allocations: 54.55 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.00877, allocations: 20.84 kB / 446.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.008787, allocations: 0 / 446.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.008955, allocations: 63.39 kB / 446.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.008957, allocations: 4 kB / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003347/0.009291, allocations: 105.5 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.009346, allocations: 55.39 kB / 447.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.009636, allocations: 275 kB / 447.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.009655, allocations: 25.7 kB / 447.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.009734, allocations: 116.1 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.009771, allocations: 19.84 kB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.009814, allocations: 21.7 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.009971, allocations: 322.8 kB / 447.8 MB, free: 52 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.01003, allocations: 12 kB / 447.9 MB, free: 40 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.01009, allocations: 33.7 kB / 447.9 MB, free: 0 / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2339/0.244, allocations: 43.16 kB / 447.9 MB, free: 19.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.244, allocations: 3.469 kB / 447.9 MB, free: 19.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002509/0.2443, allocations: 88.72 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2443, allocations: 6.031 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2443, allocations: 4.453 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.2443, allocations: 1.031 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2444, allocations: 17.67 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2444, allocations: 1.906 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.2445, allocations: 2.922 kB / 448.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2445, allocations: 5.906 kB / 448.1 MB, free: 19.14 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001434/0.2446, allocations: 131.4 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2447, allocations: 16.91 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.2449, allocations: 102.1 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2449, allocations: 0 / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2449, allocations: 4.312 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2449, allocations: 6 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2451, allocations: 150.4 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2451, allocations: 0 / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.2451, allocations: 9.781 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2451, allocations: 0 / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2451, allocations: 3.688 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2451, allocations: 1.094 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2451, allocations: 0.75 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.2453, allocations: 122.2 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.2453, allocations: 14.47 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.2454, allocations: 2.016 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.2454, allocations: 6.312 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2455, allocations: 4.312 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2455, allocations: 3.25 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.2457, allocations: 205.9 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2457, allocations: 3.938 kB / 448.8 MB, free: 18.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.2459, allocations: 22.84 kB / 448.8 MB, free: 18.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001624/0.2475, allocations: 444.2 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.2477, allocations: 40.89 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2477, allocations: 0 / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.2478, allocations: 29.05 kB / 449.4 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.2481, allocations: 33.19 kB / 449.4 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.2486, allocations: 267.5 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.2488, allocations: 104.8 kB / 449.7 MB, free: 18.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.993e-05/0.2488, allocations: 15.77 kB / 449.8 MB, free: 18.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.2488, allocations: 15.16 kB / 449.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2488, allocations: 1.438 kB / 449.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of Templates: time 0.006174/0.255, allocations: 1.655 MB / 451.4 MB, free: 18.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.891048941761255]