Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.000931/0.000931, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009815/0.0009815, allocations: 169.6 kB / 24.91 MB, free: 8.777 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.978/0.978, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2929/0.2929, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.322e-05, allocations: 2.312 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00274/0.002753, allocations: 2.003 MB / 327.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004014, allocations: 1.041 MB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.004087, allocations: 4 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.004261, allocations: 47.58 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.00445, allocations: 95.42 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.00459, allocations: 99.58 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004728, allocations: 151.5 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.004794, allocations: 22.44 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.004869, allocations: 79.77 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.004934, allocations: 39.81 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004948, allocations: 8 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.005014, allocations: 51.92 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.005053, allocations: 31.84 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.005082, allocations: 19.92 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.005228, allocations: 131.4 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.005233, allocations: 7.984 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005233, allocations: 0 / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.005236, allocations: 3.938 kB / 329.2 MB, free: 3.711 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003027/0.005539, allocations: 383.1 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.264e-05/0.005561, allocations: 12.03 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.005585, allocations: 12.92 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.005717, allocations: 166.3 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.005727, allocations: 384 / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.005743, allocations: 20.31 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005852, allocations: 131 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00586, allocations: 7.875 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.005868, allocations: 4 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-06/0.005871, allocations: 4 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.005904, allocations: 22.81 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.00616, allocations: 378 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.006279, allocations: 101.3 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.0063, allocations: 20.84 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.006309, allocations: 4 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.071e-05/0.00639, allocations: 95.84 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.006391, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 9.012e-05/0.006481, allocations: 77.61 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.006501, allocations: 51.41 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.006602, allocations: 193.6 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006616, allocations: 25.7 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.006667, allocations: 111.9 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.006683, allocations: 23.84 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.006714, allocations: 33.62 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.006804, allocations: 334.7 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.006819, allocations: 14.83 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.006849, allocations: 42.41 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.006905, allocations: 73.78 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.006907, allocations: 4 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.694e-05/0.006984, allocations: 88.36 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.007031, allocations: 6.156 kB / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007035, allocations: 8 kB / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.007041, allocations: 0 / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.007093, allocations: 23.98 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.007095, allocations: 0 / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.007125, allocations: 15.89 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.007131, allocations: 4 kB / 331.6 MB, free: 1.031 MB / 298.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 6.036e-05/0.007191, allocations: 128.5 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.007203, allocations: 8 kB / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/0.007294, allocations: 79.53 kB / 331.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007297, allocations: 8 kB / 331.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.007298, allocations: 0 / 331.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007301, allocations: 4 kB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.568e-05/0.007377, allocations: 105.7 kB / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007379, allocations: 3.938 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.007417, allocations: 15.98 kB / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.007417, allocations: 0 / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007425, allocations: 4 kB / 332 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007426, allocations: 4 kB / 332 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007427, allocations: 0 / 332 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.007528, allocations: 114.7 kB / 332.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.007548, allocations: 23.83 kB / 332.1 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.00756, allocations: 0 / 332.1 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.007584, allocations: 8 kB / 332.1 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.007605, allocations: 3.984 kB / 332.1 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.007613, allocations: 4 kB / 332.1 MB, free: 480 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.007658, allocations: 60.2 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007658, allocations: 3.938 kB / 332.2 MB, free: 412 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.00777, allocations: 24 kB / 332.2 MB, free: 388 kB / 298.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.001138/0.008908, allocations: 0.5062 MB / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.008981, allocations: 48.89 kB / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.008984, allocations: 4 kB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.009012, allocations: 28.78 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.009127, allocations: 56.2 kB / 332.9 MB, free: 8 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.009418, allocations: 257.9 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.009448, allocations: 76.08 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.433e-05/0.009483, allocations: 17.47 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.009548, allocations: 75.36 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009549, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003256/0.0128, allocations: 2.186 MB / 335.5 MB, free: 13.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.958530361764133]