Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001443/0.001443, allocations: 77.88 kB / 21.42 MB, free: 3.066 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.001735/0.001735, allocations: 166.5 kB / 24.82 MB, free: 9.316 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.987/0.987, allocations: 177.1 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.2639/0.2639, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.359e-05, allocations: 6.25 kB / 376.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002561/0.002584, allocations: 1.766 MB / 378.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.00383, allocations: 0.9975 MB / 379.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.00391, allocations: 0 / 379.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.004209, allocations: 91.62 kB / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.004492, allocations: 123.4 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.004659, allocations: 83.59 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.004817, allocations: 127.7 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.004904, allocations: 11.94 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.005001, allocations: 71.8 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.005099, allocations: 67.8 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.005115, allocations: 4 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.005205, allocations: 55.92 kB / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.005252, allocations: 27.92 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.00529, allocations: 23.86 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.005464, allocations: 119.5 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005466, allocations: 0 / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005467, allocations: 4 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.00547, allocations: 0 / 380.1 MB, free: 0.6992 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004143/0.005884, allocations: 475.6 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.005921, allocations: 12.03 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.005961, allocations: 20.83 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.006122, allocations: 157.2 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.006138, allocations: 384 / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.006155, allocations: 8.375 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.006264, allocations: 70.84 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006275, allocations: 3.938 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.006282, allocations: 8 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006289, allocations: 4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.006316, allocations: 11.98 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.006574, allocations: 264.4 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.006714, allocations: 54.97 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.006737, allocations: 19.81 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.006751, allocations: 3.938 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.305e-05/0.006844, allocations: 73.02 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.006845, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004299/0.007275, allocations: 201.8 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.007305, allocations: 59.28 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.007437, allocations: 251 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007453, allocations: 33.69 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.007511, allocations: 154.9 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.00754, allocations: 39.67 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.007579, allocations: 39.34 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.007705, allocations: 0.5 MB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.007729, allocations: 19.98 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.007762, allocations: 35.36 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.00782, allocations: 59.3 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007821, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001195/0.007941, allocations: 109.5 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.007953, allocations: 4 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007957, allocations: 0 / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.007969, allocations: 0 / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.008029, allocations: 31.92 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.008032, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.008059, allocations: 4.031 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.008065, allocations: 4 kB / 382.8 MB, free: 13.79 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 (13): * Single equations (assignments): 13 * 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.551e-05/0.00814, allocations: 164.5 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.008161, allocations: 19.89 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.00833, allocations: 123.1 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008333, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.008335, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.008338, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.008649, allocations: 413.1 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008652, allocations: 4.062 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.008684, allocations: 15.98 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.008689, allocations: 7.938 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.008695, allocations: 0 / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.008697, allocations: 4 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008698, allocations: 0 / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.008852, allocations: 283.4 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.008868, allocations: 15.91 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.008884, allocations: 4 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.00893, allocations: 4 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.008958, allocations: 19.91 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.008973, allocations: 11.98 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.009044, allocations: 167.1 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009044, allocations: 0 / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.009231, allocations: 35.92 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00104/0.01027, allocations: 498.5 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.01038, allocations: 59.59 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01038, allocations: 0 / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.01041, allocations: 35.61 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01064, allocations: 42.22 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.01096, allocations: 261.5 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.011, allocations: 79.52 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.01104, allocations: 16.62 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.01112, allocations: 98.19 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01112, allocations: 0 / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003891/0.01501, allocations: 2.324 MB / 387.5 MB, free: 9.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.125304640736431]