Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001936/0.001936, allocations: 84.77 kB / 20.68 MB, free: 1.035 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.00257/0.00257, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.505/1.505, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.2245/0.2245, allocations: 34.27 MB / 295 MB, free: 14.58 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.676e-05, allocations: 9.094 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003349/0.003386, allocations: 1.72 MB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.005342, allocations: 0.9743 MB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.005436, allocations: 3.938 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.005791, allocations: 75.7 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.006146, allocations: 115.5 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.006357, allocations: 87.53 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.006574, allocations: 123.6 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.006673, allocations: 8 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.006798, allocations: 59.83 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.006928, allocations: 59.86 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.006951, allocations: 4 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.00706, allocations: 47.91 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.007131, allocations: 19.92 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.00718, allocations: 19.88 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.007414, allocations: 123.5 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.007419, allocations: 4 kB / 446.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00742, allocations: 0 / 446.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.007425, allocations: 4 kB / 446.2 MB, free: 1.855 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006357/0.008061, allocations: 361.4 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.0081, allocations: 8.031 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.00816, allocations: 16.84 kB / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.008452, allocations: 149.6 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.008469, allocations: 384 / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.008493, allocations: 4.312 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.008689, allocations: 66.16 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.008706, allocations: 3.938 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.008723, allocations: 4 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.008729, allocations: 4 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/0.00882, allocations: 19.98 kB / 446.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.00922, allocations: 232.6 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.009421, allocations: 58.61 kB / 447.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.009486, allocations: 20.8 kB / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.009506, allocations: 4 kB / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.009677, allocations: 67.38 kB / 447.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.009679, allocations: 0 / 447.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006414/0.01032, allocations: 193.3 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.01037, allocations: 51.41 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01062, allocations: 223.6 kB / 447.7 MB, free: 256 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.01064, allocations: 25.7 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.01072, allocations: 112.1 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.01076, allocations: 23.81 kB / 447.8 MB, free: 84 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.01082, allocations: 29.7 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2449/0.2557, allocations: 319.3 kB / 448.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.2559, allocations: 19.56 kB / 448.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.256, allocations: 41.03 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.2562, allocations: 63.23 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2562, allocations: 0 / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003542/0.2566, allocations: 111.8 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2566, allocations: 9 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2566, allocations: 1.562 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2566, allocations: 0 / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2568, allocations: 23.62 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2568, allocations: 3.516 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.2569, allocations: 6.625 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2569, allocations: 2.938 kB / 448.4 MB, free: 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 (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.0001264/0.257, allocations: 133 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.2571, allocations: 13.94 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.2574, allocations: 125.7 kB / 448.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2575, allocations: 1.078 kB / 448.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2575, allocations: 5.156 kB / 448.7 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2575, allocations: 0.75 kB / 448.7 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.2581, allocations: 349.2 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2581, allocations: 0 / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.2582, allocations: 14.3 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2582, allocations: 5 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2582, allocations: 10.09 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2582, allocations: 1.094 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2582, allocations: 0.5156 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.2585, allocations: 217.6 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2586, allocations: 14.39 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.2586, allocations: 6.688 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2587, allocations: 3.047 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.2588, allocations: 11.47 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.2588, allocations: 4.25 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.259, allocations: 176.7 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.259, allocations: 0.7656 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.2596, allocations: 22.72 kB / 449.5 MB, free: 18.38 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: 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.002621/0.2622, allocations: 499.2 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.2625, allocations: 60.39 kB / 450.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2625, allocations: 3.938 kB / 450.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2626, allocations: 32.56 kB / 450.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.2632, allocations: 27.91 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.2638, allocations: 258.1 kB / 450.4 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2639, allocations: 100.3 kB / 450.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.264, allocations: 17.33 kB / 450.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.2641, allocations: 18.14 kB / 450.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.7e-07/0.2641, allocations: 0 / 450.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of Templates: time 0.007683/0.2718, allocations: 1.865 MB / 452.4 MB, free: 17.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.014503180980682]