Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001947/0.001947, allocations: 84.23 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.002407/0.002407, allocations: 163.4 kB / 23.95 MB, free: 4.156 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.512/1.512, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.2181/0.2181, allocations: 34.29 MB / 295 MB, free: 14.55 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.936e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003624/0.003653, allocations: 1.8 MB / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.006037, allocations: 1.048 MB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.006196, allocations: 0 / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.006846, allocations: 303.1 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.00752, allocations: 271 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.007877, allocations: 103.6 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.008373, allocations: 267.2 kB / 446.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.008442, allocations: 13.75 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.008795, allocations: 155.6 kB / 446.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.009141, allocations: 211.6 kB / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.009178, allocations: 4 kB / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.009324, allocations: 43.98 kB / 446.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.009518, allocations: 147.5 kB / 447.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.009651, allocations: 67.67 kB / 447.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.01022, allocations: 362.7 kB / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01022, allocations: 0 / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01023, allocations: 0 / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.01024, allocations: 0 / 447.5 MB, free: 0.5312 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.208/0.2182, allocations: 0.6781 MB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2183, allocations: 10.27 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.2184, allocations: 55.78 kB / 448.2 MB, free: 19.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.2191, allocations: 388.1 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2191, allocations: 3.141 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.2191, allocations: 2.656 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.2193, allocations: 87.2 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2194, allocations: 3.375 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2194, allocations: 5.969 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2194, allocations: 1.125 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2195, allocations: 42.39 kB / 448.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.2199, allocations: 303.6 kB / 449.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.2202, allocations: 105.1 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.2203, allocations: 44.03 kB / 449.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2203, allocations: 1.094 kB / 449.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.2206, allocations: 112.5 kB / 449.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.2206, allocations: 3.625 kB / 449.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005488/0.2211, allocations: 209.2 kB / 449.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.2212, allocations: 79.3 kB / 449.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2225, allocations: 1.067 MB / 450.7 MB, free: 18.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2225, allocations: 33.16 kB / 450.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2226, allocations: 237.2 kB / 450.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.2227, allocations: 33.56 kB / 451 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.2228, allocations: 29.31 kB / 451 MB, free: 18.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.2229, allocations: 367 kB / 451.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.2229, allocations: 39.34 kB / 451.4 MB, free: 17.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.223, allocations: 63.48 kB / 451.5 MB, free: 17.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.2232, allocations: 92.11 kB / 451.5 MB, free: 17.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2232, allocations: 0 / 451.5 MB, free: 17.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003243/0.2235, allocations: 178.4 kB / 451.7 MB, free: 17.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2236, allocations: 8.562 kB / 451.7 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2236, allocations: 1.828 kB / 451.7 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2236, allocations: 1.562 kB / 451.7 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2237, allocations: 21.59 kB / 451.8 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2237, allocations: 5.25 kB / 451.8 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2238, allocations: 16.61 kB / 451.8 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2238, allocations: 8 kB / 451.8 MB, free: 17.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001939/0.224, allocations: 226.7 kB / 452 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.2241, allocations: 51.73 kB / 452.1 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.2245, allocations: 209.2 kB / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2245, allocations: 5.203 kB / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2245, allocations: 1.375 kB / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2245, allocations: 4.547 kB / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.2248, allocations: 269.6 kB / 452.5 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2248, allocations: 3.125 kB / 452.5 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.2249, allocations: 11.17 kB / 452.5 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2249, allocations: 1.375 kB / 452.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2249, allocations: 6.969 kB / 452.6 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2249, allocations: 1.375 kB / 452.6 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2249, allocations: 1.375 kB / 452.6 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.2252, allocations: 230.1 kB / 452.8 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2253, allocations: 62.17 kB / 452.8 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.2254, allocations: 6.734 kB / 452.9 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2255, allocations: 6.188 kB / 452.9 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.2255, allocations: 12.05 kB / 452.9 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.2256, allocations: 10.61 kB / 452.9 MB, free: 16.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009131/0.2265, allocations: 0.7967 MB / 453.7 MB, free: 16.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2265, allocations: 0 / 453.7 MB, free: 16.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.2268, allocations: 46.19 kB / 453.7 MB, free: 16.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001625/0.2284, allocations: 437 kB / 454.1 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.2287, allocations: 87.22 kB / 454.2 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2287, allocations: 1.719 kB / 454.2 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2288, allocations: 43.25 kB / 454.3 MB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.2292, allocations: 73.78 kB / 454.3 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2304, allocations: 0.903 MB / 455.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2307, allocations: 247 kB / 455.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.2308, allocations: 60.98 kB / 455.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.2309, allocations: 33.5 kB / 455.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2309, allocations: 0 / 455.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Templates: time 0.009337/0.2402, allocations: 4.011 MB / 459.6 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.122311893850565]