Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001423/0.001423, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001132/0.001132, allocations: 166.7 kB / 24.91 MB, free: 9.152 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.9804/0.9804, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2698/0.2698, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.121e-05, allocations: 5.438 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.005691/0.005712, allocations: 1.81 MB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.007171, allocations: 1.006 MB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.007236, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.01055, allocations: 83.62 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.01082, allocations: 119.4 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.01098, allocations: 79.55 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.01114, allocations: 115.7 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.888e-05/0.01121, allocations: 4 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.0113, allocations: 75.73 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.0114, allocations: 51.88 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.01141, allocations: 4 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.01149, allocations: 43.92 kB / 328.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.01154, allocations: 27.86 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.01157, allocations: 24.42 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.01173, allocations: 107.6 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.01173, allocations: 0 / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01174, allocations: 0 / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.01174, allocations: 0 / 328.9 MB, free: 4.012 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.000344/0.01208, allocations: 329.4 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.01211, allocations: 12.03 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.01214, allocations: 12.92 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.01231, allocations: 149.5 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.01232, allocations: 4.375 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.01234, allocations: 384 / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.01244, allocations: 65.77 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01245, allocations: 3.938 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.01246, allocations: 0 / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01246, allocations: 3.984 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.01249, allocations: 15.92 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.0127, allocations: 166 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.01278, allocations: 85.28 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.0128, allocations: 16.92 kB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.01281, allocations: 0 / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/0.0129, allocations: 66.09 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.0129, allocations: 0 / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.002992/0.01589, allocations: 121.5 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01593, allocations: 51.41 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.01608, allocations: 189 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.0161, allocations: 37.7 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.01614, allocations: 92.11 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.01618, allocations: 27.78 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.01622, allocations: 21.7 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01633, allocations: 334.8 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.01635, allocations: 7.203 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.01639, allocations: 29.69 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.01644, allocations: 40.47 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01645, allocations: 4 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001036/0.01655, allocations: 72.44 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01656, allocations: 7.938 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01657, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01659, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.01667, allocations: 19.98 kB / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.01667, allocations: 0 / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.01671, allocations: 4 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.01671, allocations: 4 kB / 330.9 MB, free: 1.875 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 8.9e-05/0.0168, allocations: 121.4 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.01682, allocations: 11.95 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.01695, allocations: 83.06 kB / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01695, allocations: 0 / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01696, allocations: 0 / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01696, allocations: 0 / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.01725, allocations: 299.5 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01725, allocations: 0 / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.01728, allocations: 11.98 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01728, allocations: 4 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01729, allocations: 0 / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01729, allocations: 32 / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.0173, allocations: 11.94 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.01743, allocations: 215 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.01744, allocations: 11.94 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01746, allocations: 0 / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.01752, allocations: 8 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.01756, allocations: 11.92 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01757, allocations: 3.938 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.01764, allocations: 61.55 kB / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01764, allocations: 0 / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.01778, allocations: 27.94 kB / 331.7 MB, free: 0.9375 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.001172/0.01895, allocations: 0.5763 MB / 332.3 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.01903, allocations: 44.77 kB / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.01904, allocations: 4.062 kB / 332.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.01907, allocations: 20.86 kB / 332.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01924, allocations: 45.8 kB / 332.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.01953, allocations: 230.3 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.01957, allocations: 71.33 kB / 332.7 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.01961, allocations: 17.27 kB / 332.7 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.01967, allocations: 71.42 kB / 332.8 MB, free: 120 kB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01967, allocations: 4 kB / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of Templates: time 0.003501/0.02317, allocations: 2.013 MB / 334.8 MB, free: 14.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.8443258898332715]