Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001076/0.001076, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001917/0.002992, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001036/0.001036, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002466, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.043/1.043, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09721/1.14, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.2414/0.2414, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02065/0.2621, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.007e-06/1.023e-05, allocations: 3.719 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001907/0.001917, allocations: 1.807 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.003691, allocations: 1.779 MB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.003758, allocations: 3.938 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.003937, allocations: 35.77 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.004177, allocations: 103.4 kB / 296.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.004345, allocations: 79.56 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.004519, allocations: 119.6 kB / 296.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.00461, allocations: 11.98 kB / 296.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.004771, allocations: 87.73 kB / 297 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.004895, allocations: 40.52 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.004914, allocations: 8 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.005083, allocations: 103.8 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.005133, allocations: 23.86 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.005169, allocations: 15.94 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005414, allocations: 155.5 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.005427, allocations: 0 / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005428, allocations: 0 / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.005438, allocations: 4 kB / 297.3 MB, free: 1.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005292/0.005967, allocations: 360.8 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.005999, allocations: 8.031 kB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.006038, allocations: 16.92 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.006216, allocations: 145.4 kB / 297.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.006234, allocations: 4.375 kB / 297.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.006255, allocations: 384 / 297.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.006391, allocations: 113.2 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006399, allocations: 3.938 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.006406, allocations: 0 / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.00641, allocations: 0 / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.262e-05/0.006443, allocations: 18.75 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.006644, allocations: 185.9 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.006737, allocations: 89.3 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.006759, allocations: 16.86 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.006771, allocations: 0 / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.441e-05/0.006865, allocations: 74.14 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006866, allocations: 0 / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003067/0.007173, allocations: 129.5 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.007197, allocations: 51.41 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.007311, allocations: 162.9 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.007328, allocations: 33.7 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.007359, allocations: 100 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.007385, allocations: 35.72 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.007415, allocations: 25.7 kB / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.007498, allocations: 318.8 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.007515, allocations: 10.83 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.007551, allocations: 61.23 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.007596, allocations: 51.28 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007597, allocations: 0 / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.435e-05/0.007672, allocations: 76.41 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.007682, allocations: 8 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007686, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.007697, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.007763, allocations: 27.98 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.007766, allocations: 3.938 kB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.007791, allocations: 4 kB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.007796, allocations: 4 kB / 299.4 MB, free: 15.43 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 (11): * Single equations (assignments): 11 * 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 5.85e-05/0.007855, allocations: 116.7 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.007868, allocations: 11.92 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.007966, allocations: 90.41 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007968, allocations: 0 / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007969, allocations: 0 / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.007972, allocations: 0 / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.008173, allocations: 319.5 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.00818, allocations: 7.969 kB / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.008215, allocations: 12 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.008226, allocations: 11.91 kB / 299.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008227, allocations: 0 / 299.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.008236, allocations: 11.98 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008237, allocations: 4.031 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008238, allocations: 0 / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.008336, allocations: 221 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.008354, allocations: 7.984 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.021e-05/0.008394, allocations: 4 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.008418, allocations: 11.98 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.008429, allocations: 4 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.008468, allocations: 45.17 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008468, allocations: 0 / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.008632, allocations: 55.75 kB / 300.3 MB, free: 14.45 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 (11): * Single equations (assignments): 9 * 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.001496/0.01013, allocations: 0.7728 MB / 301.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.01022, allocations: 48.72 kB / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.01023, allocations: 0 / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.01027, allocations: 45.14 kB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01048, allocations: 188.8 kB / 301.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.01089, allocations: 223.5 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.01093, allocations: 63.34 kB / 301.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01097, allocations: 24.61 kB / 301.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.01105, allocations: 87.44 kB / 301.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01105, allocations: 0 / 301.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of Templates: time 0.003934/0.01498, allocations: 2.949 MB / 304.7 MB, free: 10.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.82446963340044]