Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009648/0.0009648, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002448, 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.0008435/0.0008435, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009006/0.001744, 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.112/1.112, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/1.218, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.2924/0.2924, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03251/0.325, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.38e-05, allocations: 3.438 kB / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002214/0.002238, allocations: 1.807 MB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003635, allocations: 1.026 MB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.003724, allocations: 0 / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.004002, allocations: 51.58 kB / 295.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.004246, allocations: 91.47 kB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.004402, allocations: 87.55 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.004567, allocations: 103.6 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.004652, allocations: 7.984 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.00478, allocations: 79.77 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.004858, allocations: 31.89 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004873, allocations: 8 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.004953, allocations: 43.92 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.005, allocations: 11.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.00503, allocations: 15.94 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.005202, allocations: 103.5 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.005216, allocations: 4 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005217, allocations: 0 / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.005227, allocations: 0 / 296.4 MB, free: 2.621 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004315/0.005658, allocations: 333 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.00569, allocations: 8.031 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.005723, allocations: 16.92 kB / 296.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005879, allocations: 142.3 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005896, allocations: 8.375 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.005914, allocations: 384 / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006026, allocations: 69.7 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006035, allocations: 3.938 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.006041, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006048, allocations: 3.984 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.006072, allocations: 8 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.006277, allocations: 161.9 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.006376, allocations: 97.3 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.006397, allocations: 16.8 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.006407, allocations: 0 / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.811e-05/0.006505, allocations: 70.14 kB / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006507, allocations: 0 / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002902/0.006797, allocations: 113.5 kB / 297.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.006825, allocations: 55.39 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.006931, allocations: 177.3 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.006947, allocations: 33.7 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.006978, allocations: 96.11 kB / 297.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.007004, allocations: 23.84 kB / 297.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.007034, allocations: 25.7 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.00712, allocations: 326.8 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.007137, allocations: 6.828 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.007161, allocations: 29.64 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.007201, allocations: 36.52 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.007203, allocations: 0 / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.82e-05/0.007281, allocations: 80.44 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.007294, allocations: 8 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007299, allocations: 0 / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.007311, allocations: 0 / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.007382, allocations: 23.98 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007385, allocations: 0 / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.007411, allocations: 0 / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.007415, allocations: 4 kB / 298.3 MB, free: 0.5039 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 (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 6.124e-05/0.007477, allocations: 124.5 kB / 298.4 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.007488, allocations: 11.92 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.007592, allocations: 79.17 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.007595, allocations: 3.984 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007596, allocations: 0 / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007599, allocations: 0 / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.007825, allocations: 299.4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007827, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.007856, allocations: 11.94 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.007868, allocations: 12.31 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007871, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007878, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.007881, allocations: 11.97 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007882, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.538e-05/0.007977, allocations: 219 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.007993, allocations: 4 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.008039, allocations: 7.984 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.008063, allocations: 3.984 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.008076, allocations: 4 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.008118, allocations: 55.62 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008118, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.008257, allocations: 20 kB / 299.2 MB, free: 15.57 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.001411/0.009668, allocations: 0.6363 MB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.691e-05/0.009765, allocations: 44.77 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/0.009773, allocations: 8.094 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.009811, allocations: 32.77 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01006, allocations: 180.4 kB / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.01051, allocations: 223.6 kB / 300.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.01055, allocations: 67.34 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.01059, allocations: 17 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.01065, allocations: 71.36 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01065, allocations: 0 / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003427/0.01408, allocations: 2.046 MB / 302.5 MB, free: 12.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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: 3.002313510514796]