Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.0009982/0.0009982, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001795/0.001795, allocations: 167.2 kB / 24.82 MB, free: 8.773 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2674/0.2674, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.412e-05, allocations: 6.25 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002512/0.002536, allocations: 1.762 MB / 378.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.00422, allocations: 0.9936 MB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.004315, allocations: 0 / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.004612, allocations: 43.7 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.004942, allocations: 99.47 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.005169, allocations: 87.59 kB / 379.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.005314, allocations: 95.7 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.005402, allocations: 11.98 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.005488, allocations: 55.77 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.00556, allocations: 27.91 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.005576, allocations: 4 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.005657, allocations: 47.92 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.005704, allocations: 23.92 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.005742, allocations: 23.86 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.005897, allocations: 95.66 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005899, allocations: 0 / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0059, allocations: 0 / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005904, allocations: 3.938 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.0004068/0.00631, allocations: 451.8 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.006348, allocations: 8.031 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.006381, allocations: 16.84 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.006518, allocations: 157.1 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.006532, allocations: 384 / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.006549, allocations: 4.375 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.006669, allocations: 62.88 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.00668, allocations: 3.938 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.006688, allocations: 4 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006694, allocations: 0 / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.006728, allocations: 11.92 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.007063, allocations: 264.4 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.007174, allocations: 47.16 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.007197, allocations: 19.69 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.007213, allocations: 7.938 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.992e-05/0.007303, allocations: 64.98 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.007304, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003051/0.007609, allocations: 137.7 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.007668, allocations: 55.39 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007797, allocations: 226.3 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.007812, allocations: 29.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.007864, allocations: 154.8 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.00789, allocations: 31.78 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.007924, allocations: 31.36 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.008025, allocations: 0.4923 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.008045, allocations: 11.98 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.008073, allocations: 31.34 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.008115, allocations: 43.31 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008116, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.836e-05/0.008214, allocations: 93.45 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.008225, allocations: 4 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008231, allocations: 8.031 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.008241, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.0083, allocations: 15.98 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.008302, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.008332, allocations: 4 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.008337, allocations: 4 kB / 382.4 MB, free: 14.25 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 6.853e-05/0.008405, allocations: 168 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.008423, allocations: 19.84 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.008547, allocations: 99.28 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.008553, allocations: 7.984 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.008555, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008559, allocations: 11.92 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.008802, allocations: 357.6 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.008804, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.008833, allocations: 19.92 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008836, allocations: 0 / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.008841, allocations: 0 / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.008843, allocations: 0 / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008844, allocations: 4 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.008971, allocations: 255.4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.008983, allocations: 11.95 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.008998, allocations: 0 / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.013e-05/0.009038, allocations: 4 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.009062, allocations: 7.984 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.009075, allocations: 8 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.009135, allocations: 160.1 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009136, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.009304, allocations: 27.94 kB / 383.5 MB, free: 13.04 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.001235/0.01054, allocations: 440.5 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01067, allocations: 47.59 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01067, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.01072, allocations: 35.61 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.01106, allocations: 31.88 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.01144, allocations: 217.9 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.696e-05/0.01151, allocations: 67.34 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.613e-05/0.01155, allocations: 21.39 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.01162, allocations: 94.19 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01163, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.004718/0.01634, allocations: 2.044 MB / 386.5 MB, free: 10.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.9603762510232627]