Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0009407/0.0009407, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00108/0.00108, allocations: 171.9 kB / 24.82 MB, free: 8.91 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 1.043/1.043, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.2459/0.2459, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.426e-05, allocations: 6.25 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002152/0.002166, allocations: 1.762 MB / 378.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003277, allocations: 0.9897 MB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.003341, allocations: 0 / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.003585, allocations: 47.7 kB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.003817, allocations: 99.47 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.00395, allocations: 83.59 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.004082, allocations: 103.7 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.004164, allocations: 8 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.004243, allocations: 59.77 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.004309, allocations: 23.91 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.004322, allocations: 4 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.004397, allocations: 43.92 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.004443, allocations: 27.91 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.004479, allocations: 19.88 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.004624, allocations: 103.6 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004626, allocations: 0 / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004627, allocations: 0 / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004631, allocations: 4 kB / 379.9 MB, free: 0.9219 MB / 346.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.000383/0.005014, allocations: 451.8 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.00505, allocations: 20.02 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.005082, allocations: 16.81 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005222, allocations: 160.9 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.005236, allocations: 384 / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.005251, allocations: 4.375 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.748e-05/0.005348, allocations: 58.94 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005359, allocations: 7.875 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.005365, allocations: 0 / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.00537, allocations: 0 / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.005395, allocations: 15.98 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.005634, allocations: 260.4 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.005713, allocations: 47.17 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.005732, allocations: 19.61 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.005746, allocations: 0 / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.419e-05/0.005831, allocations: 72.97 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.005831, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003405/0.006172, allocations: 137.7 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.0062, allocations: 55.41 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.006323, allocations: 233.8 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.006341, allocations: 29.7 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.006399, allocations: 154.8 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.006428, allocations: 31.77 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.006461, allocations: 27.38 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.006587, allocations: 0.4962 MB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.006605, allocations: 16.05 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.006634, allocations: 27.31 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.006681, allocations: 47.34 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.006683, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.631e-05/0.006779, allocations: 93.47 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.00679, allocations: 8 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.006795, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006807, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.00687, allocations: 15.98 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.006874, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.0069, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.006907, allocations: 8 kB / 382.4 MB, free: 14.23 MB / 362.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 7.095e-05/0.006978, allocations: 160.5 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.007, allocations: 31.86 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.007145, allocations: 95.28 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.007148, allocations: 7.938 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007149, allocations: 0 / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.007154, allocations: 3.984 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.00741, allocations: 361.6 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007411, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.007437, allocations: 8 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007439, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.007447, allocations: 7.984 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007448, allocations: 4.031 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007449, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.007581, allocations: 263.4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.007592, allocations: 7.953 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.007607, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.007648, allocations: 4 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.007672, allocations: 11.97 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.007683, allocations: 4 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.00775, allocations: 172.2 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00775, allocations: 0 / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.007918, allocations: 23.94 kB / 383.6 MB, free: 13.01 MB / 362.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.0009696/0.008888, allocations: 443.5 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.008992, allocations: 51.64 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008994, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.009027, allocations: 27.61 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.00925, allocations: 43.08 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.009548, allocations: 226 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.009593, allocations: 67.34 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.00963, allocations: 21.2 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.009702, allocations: 90.19 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.009703, allocations: 3.938 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003815/0.01352, allocations: 2.052 MB / 386.6 MB, free: 10.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.106300068087876]