Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.001085/0.001085, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001199/0.001199, allocations: 165 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 185.9 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1593/0.1593, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.832e-05, allocations: 9.344 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002051/0.002079, allocations: 1.68 MB / 349.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000957/0.003036, allocations: 0.7765 MB / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.003106, allocations: 0 / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.003396, allocations: 51.81 kB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.003587, allocations: 63.62 kB / 350.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.003776, allocations: 83.7 kB / 350.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.0039, allocations: 95.69 kB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.003938, allocations: 4 kB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.004017, allocations: 51.78 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.004088, allocations: 23.91 kB / 351 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.004105, allocations: 4 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.004166, allocations: 31.92 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.00421, allocations: 31.86 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.004242, allocations: 19.92 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.004378, allocations: 87.67 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004379, allocations: 0 / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00438, allocations: 4 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.004384, allocations: 0 / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003506/0.004734, allocations: 475.6 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004768, allocations: 8.031 kB / 351.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.004799, allocations: 16.84 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.004911, allocations: 152.4 kB / 351.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.004926, allocations: 8.375 kB / 351.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.004933, allocations: 384 / 351.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.005041, allocations: 54.94 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.005049, allocations: 3.938 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.005054, allocations: 4 kB / 351.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.00506, allocations: 4 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.005081, allocations: 11.92 kB / 351.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.005185, allocations: 121.2 kB / 352 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.005255, allocations: 43.11 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.005272, allocations: 15.69 kB / 352.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.005285, allocations: 3.984 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.111e-05/0.005356, allocations: 76.97 kB / 352.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.005357, allocations: 4 kB / 352.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001397/0.005497, allocations: 77.53 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.005512, allocations: 51.41 kB / 352.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.005621, allocations: 269.3 kB / 352.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.005633, allocations: 25.7 kB / 352.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.005671, allocations: 166.8 kB / 352.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.005698, allocations: 15.84 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.005725, allocations: 27.36 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.005778, allocations: 0.5001 MB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.005793, allocations: 8 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.005816, allocations: 35.28 kB / 353.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.00585, allocations: 31.38 kB / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005852, allocations: 0 / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.494e-05/0.005927, allocations: 73.53 kB / 353.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.005941, allocations: 7.938 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.005946, allocations: 0 / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.005958, allocations: 7.938 kB / 353.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.006027, allocations: 11.98 kB / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.006031, allocations: 0 / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.006074, allocations: 12.03 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.006081, allocations: 0 / 353.5 MB, free: 3.566 MB / 282.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 (7): * Single equations (assignments): 7 * 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.755e-05/0.006159, allocations: 156.6 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.006182, allocations: 19.89 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.006309, allocations: 82.77 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.006313, allocations: 3.938 kB / 353.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006315, allocations: 0 / 353.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006319, allocations: 0 / 353.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.993e-05/0.006408, allocations: 129.2 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.006411, allocations: 384 / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.006437, allocations: 4 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.00644, allocations: 8 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.006447, allocations: 4 kB / 353.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006449, allocations: 4 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00645, allocations: 0 / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.00654, allocations: 120.2 kB / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.006556, allocations: 11.91 kB / 354 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.006573, allocations: 0 / 354 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.006598, allocations: 4 kB / 354 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.006628, allocations: 3.984 kB / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.006642, allocations: 7.938 kB / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.718e-05/0.006709, allocations: 192.4 kB / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006709, allocations: 0 / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.006859, allocations: 15.94 kB / 354.2 MB, free: 2.746 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008291/0.007688, allocations: 394.5 kB / 354.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.007774, allocations: 39.55 kB / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.007776, allocations: 0 / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.814e-05/0.007805, allocations: 27.67 kB / 354.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.007998, allocations: 29.08 kB / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.00829, allocations: 217.8 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.008318, allocations: 75.27 kB / 355 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.008349, allocations: 12.56 kB / 355 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.008406, allocations: 90.12 kB / 355.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008407, allocations: 4 kB / 355.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of Templates: time 0.003425/0.01183, allocations: 1.777 MB / 356.9 MB, free: 156 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.14629317400977]