Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001017/0.001017, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001272/0.001272, allocations: 170 kB / 24.91 MB, free: 9.207 MB / 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.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.2396/0.2396, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.5e-05, allocations: 3.188 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.005432/0.005447, allocations: 1.768 MB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00689, allocations: 1.01 MB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.006954, allocations: 0 / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.007197, allocations: 43.7 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.01048, allocations: 99.47 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.01065, allocations: 75.61 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.0108, allocations: 107.7 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.538e-05/0.01087, allocations: 12 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.01095, allocations: 51.78 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.01102, allocations: 31.89 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.01103, allocations: 4 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.01111, allocations: 43.92 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.01116, allocations: 23.91 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.01119, allocations: 20.38 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.01135, allocations: 103.6 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.01136, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01136, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.01136, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.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.0003451/0.0117, allocations: 325.5 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.01173, allocations: 12.03 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.01176, allocations: 8.922 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.01191, allocations: 143.4 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.01192, allocations: 8.375 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.01194, allocations: 384 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.01204, allocations: 69.7 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01205, allocations: 3.938 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.01205, allocations: 7.922 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.01206, allocations: 0 / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.414e-05/0.01208, allocations: 12 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.01227, allocations: 158 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/0.01237, allocations: 89.34 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.01238, allocations: 16.8 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.01239, allocations: 0 / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.836e-05/0.01247, allocations: 66.16 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01247, allocations: 0 / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002746/0.01275, allocations: 113.5 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.01278, allocations: 59.41 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01289, allocations: 173.3 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.01291, allocations: 33.7 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.01294, allocations: 92.12 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.01297, allocations: 31.77 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.013, allocations: 17.72 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.01308, allocations: 330.8 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.01611, allocations: 10.83 kB / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.01614, allocations: 26.02 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.01619, allocations: 48.52 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01619, allocations: 0 / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.134e-05/0.01628, allocations: 76.38 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.01629, allocations: 4 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.01629, allocations: 4 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01631, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.01637, allocations: 12 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01637, allocations: 3.984 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.01641, allocations: 8 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.01641, allocations: 0 / 330.6 MB, free: 2.102 MB / 298.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 6.884e-05/0.01648, allocations: 131.4 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.0165, allocations: 15.92 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.0166, allocations: 71.12 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.0166, allocations: 0 / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.0166, allocations: 0 / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01661, allocations: 3.984 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01684, allocations: 295.5 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01684, allocations: 3.938 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.01687, allocations: 11.94 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01687, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.01688, allocations: 8.031 kB / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01688, allocations: 0 / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01688, allocations: 80 / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.017, allocations: 227 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.01701, allocations: 7.953 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01703, allocations: 4 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.01708, allocations: 4 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.01711, allocations: 7.984 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01712, allocations: 4 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.01717, allocations: 51.64 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01717, allocations: 4 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.01738, allocations: 27.92 kB / 331.5 MB, free: 1.172 MB / 298.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.001365/0.01875, allocations: 0.5682 MB / 332.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.726e-05/0.01883, allocations: 52.77 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01884, allocations: 0 / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.01887, allocations: 28.78 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.02208, allocations: 30.92 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.0224, allocations: 219.7 kB / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.02244, allocations: 67.33 kB / 332.5 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.02249, allocations: 21.41 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.02255, allocations: 67.36 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.02256, allocations: 0 / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of Templates: time 0.006891/0.02945, allocations: 2.012 MB / 334.5 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9008284430019557]