Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001476/0.001476, allocations: 84.55 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.001601/0.001601, allocations: 163.9 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.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.2246/0.2246, allocations: 34.27 MB / 294.9 MB, free: 14.59 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.11e-06/5.11e-06, allocations: 4 kB / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.857e-05, allocations: 9.516 kB / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003222/0.00326, allocations: 1.669 MB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.005108, allocations: 0.9548 MB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.005198, allocations: 4 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.005596, allocations: 87.62 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.005963, allocations: 119.4 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.006156, allocations: 75.66 kB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.006346, allocations: 115.6 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.00639, allocations: 8.219 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.006513, allocations: 59.83 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006629, allocations: 51.88 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.006651, allocations: 4 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.832e-05/0.00675, allocations: 43.84 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.006815, allocations: 19.88 kB / 446 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.006865, allocations: 19.92 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.007092, allocations: 103.7 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007095, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.007097, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.007101, allocations: 4 kB / 446.1 MB, free: 1.973 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.0005778/0.007679, allocations: 353.5 kB / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.007716, allocations: 11.97 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.007766, allocations: 12.89 kB / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.007994, allocations: 149.5 kB / 446.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.008008, allocations: 4.375 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.008019, allocations: 384 / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.008168, allocations: 54.17 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.008185, allocations: 3.938 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.008194, allocations: 0 / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008198, allocations: 4 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.008275, allocations: 15.98 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.008456, allocations: 137.3 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.00863, allocations: 50.61 kB / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.00869, allocations: 20.84 kB / 446.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.008704, allocations: 0 / 446.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.00887, allocations: 67.33 kB / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.008871, allocations: 0 / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003157/0.009187, allocations: 105.6 kB / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.009245, allocations: 55.39 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.009488, allocations: 219.6 kB / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.009511, allocations: 29.69 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.009581, allocations: 104.1 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.009612, allocations: 19.83 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.009655, allocations: 17.72 kB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.009809, allocations: 326.8 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.009863, allocations: 15.98 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.009923, allocations: 25.72 kB / 447.9 MB, free: 28 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2173/0.2272, allocations: 51.36 kB / 447.9 MB, free: 19.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2272, allocations: 0 / 447.9 MB, free: 19.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002223/0.2274, allocations: 82.98 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2275, allocations: 8.719 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2275, allocations: 8.484 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.2275, allocations: 1.5 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.2276, allocations: 12.23 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2276, allocations: 1.984 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.2277, allocations: 10.34 kB / 448 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.2277, allocations: 5.844 kB / 448 MB, free: 19.19 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.0001/0.2278, allocations: 129.7 kB / 448.2 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.2278, allocations: 13.73 kB / 448.2 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.228, allocations: 99.41 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.228, allocations: 1.031 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.228, allocations: 1.797 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.228, allocations: 0 / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2282, allocations: 145.9 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.2282, allocations: 0.6562 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.2282, allocations: 7.328 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2282, allocations: 0 / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2282, allocations: 2.359 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2282, allocations: 2.219 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2282, allocations: 5.188 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.2284, allocations: 121.9 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.2284, allocations: 11.36 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.2284, allocations: 1.594 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.2285, allocations: 5.281 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.2285, allocations: 6.594 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2285, allocations: 3.094 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.2287, allocations: 167.9 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2287, allocations: 0 / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.2289, allocations: 20.83 kB / 448.8 MB, free: 18.77 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.001561/0.2305, allocations: 442.1 kB / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.2306, allocations: 45.09 kB / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2306, allocations: 0 / 449.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.2307, allocations: 23.14 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.231, allocations: 36.48 kB / 449.3 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.2314, allocations: 227.2 kB / 449.5 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.699e-05/0.2315, allocations: 100.5 kB / 449.6 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.501e-05/0.2315, allocations: 15.03 kB / 449.6 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2316, allocations: 16.28 kB / 449.6 MB, free: 18.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2316, allocations: 0 / 449.6 MB, free: 18.39 MB / 366.1 MB Notification: Performance of Templates: time 0.005036/0.2366, allocations: 1.63 MB / 451.3 MB, free: 18.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.9606089517474174]