Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.00107/0.00107, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009912/0.0009912, allocations: 171.1 kB / 25.61 MB, free: 8.59 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.9856/0.9856, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.146e-05, allocations: 2.312 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.001922/0.001934, allocations: 1.943 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002981, allocations: 1.029 MB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.003077, allocations: 0 / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.003334, allocations: 47.69 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.003586, allocations: 103.4 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.003763, allocations: 103.6 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003909, allocations: 143.5 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.003996, allocations: 29.72 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.004077, allocations: 75.77 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.004154, allocations: 39.88 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.00417, allocations: 4 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.004239, allocations: 43.94 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.004283, allocations: 35.83 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.004319, allocations: 27.88 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.004483, allocations: 135.5 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.004484, allocations: 0 / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004485, allocations: 0 / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.004488, allocations: 0 / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003599/0.004848, allocations: 0.5013 MB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.004877, allocations: 11.98 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.004913, allocations: 24.83 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.00504, allocations: 177 kB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.005054, allocations: 8.359 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.005071, allocations: 12.38 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.00519, allocations: 131.2 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005199, allocations: 3.938 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.005207, allocations: 4 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005213, allocations: 4 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.005246, allocations: 23.91 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.005525, allocations: 0.5527 MB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.005664, allocations: 75.08 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.005687, allocations: 23.66 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.005698, allocations: 4 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.788e-05/0.005776, allocations: 98.67 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005777, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000149/0.005926, allocations: 109.5 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/0.005941, allocations: 51.41 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.006025, allocations: 244.9 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.006034, allocations: 25.7 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.00608, allocations: 174.7 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.006093, allocations: 23.8 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.006122, allocations: 35.34 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.14e-05/0.006164, allocations: 0.5039 MB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.00618, allocations: 11.98 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.006208, allocations: 58.41 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.006258, allocations: 78.3 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00626, allocations: 8 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001006/0.00636, allocations: 113.7 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.00637, allocations: 6.031 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006375, allocations: 0 / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.006383, allocations: 4 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.006441, allocations: 23.92 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.006444, allocations: 4 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.006478, allocations: 7.938 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.006484, allocations: 8.109 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 4.897e-05/0.006533, allocations: 168.5 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.006549, allocations: 19.91 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.006656, allocations: 103 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006658, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006659, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006663, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.146e-05/0.006734, allocations: 141.1 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.006736, allocations: 4 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.006776, allocations: 15.98 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006778, allocations: 0 / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.006785, allocations: 11.88 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006786, allocations: 4 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.006787, allocations: 0 / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006905, allocations: 148.2 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.006916, allocations: 11.91 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.00693, allocations: 4 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.006955, allocations: 8 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.00698, allocations: 3.984 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.006989, allocations: 4 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.00703, allocations: 171.1 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00703, allocations: 4.031 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000153/0.007183, allocations: 31.92 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007548/0.007938, allocations: 386.4 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.008032, allocations: 59.52 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008033, allocations: 0 / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.008064, allocations: 23.88 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.008247, allocations: 46.86 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.00852, allocations: 269.7 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.014e-05/0.00854, allocations: 67.84 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.008579, allocations: 17.73 kB / 385.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.008639, allocations: 102.2 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00864, allocations: 0 / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of Templates: time 0.003436/0.01208, allocations: 2.276 MB / 388.3 MB, free: 14.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 3.235602755099535]