Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0007511/0.0007511, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001903, 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.001156/0.001156, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002746, 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.051/1.051, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09694/1.148, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2721/0.2721, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02464/0.2967, 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.059e-05, allocations: 5.25 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002112/0.002133, allocations: 1.733 MB / 294.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.002899, allocations: 0.5685 MB / 295.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.00296, allocations: 4 kB / 295.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.003169, allocations: 91.61 kB / 295.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.003388, allocations: 115.5 kB / 295.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.003684, allocations: 123.6 kB / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.00385, allocations: 99.7 kB / 295.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003955, allocations: 31.89 kB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004057, allocations: 75.86 kB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.004153, allocations: 47.89 kB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.004168, allocations: 4 kB / 295.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.004255, allocations: 55.86 kB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.004311, allocations: 27.86 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.004338, allocations: 15.94 kB / 295.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.004513, allocations: 103.6 kB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.004529, allocations: 0 / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.00453, allocations: 0 / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.004542, allocations: 0 / 295.9 MB, free: 3.086 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004161/0.004958, allocations: 360.8 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.00499, allocations: 12.62 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.005022, allocations: 12.92 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005156, allocations: 158 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.005167, allocations: 8.375 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.005187, allocations: 4.375 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005296, allocations: 70.86 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.005306, allocations: 192 / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005316, allocations: 8.125 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005321, allocations: 4 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.005351, allocations: 21.61 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.005606, allocations: 195 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.005675, allocations: 46.48 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.005694, allocations: 16.8 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.005715, allocations: 3.984 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.005738, allocations: 38.56 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.005739, allocations: 0 / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005138/0.006253, allocations: 205.9 kB / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.006285, allocations: 55.41 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006409, allocations: 197 kB / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006421, allocations: 29.7 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.006456, allocations: 104.1 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.006486, allocations: 39.64 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.006518, allocations: 29.77 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.0066, allocations: 330.7 kB / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.00662, allocations: 15.98 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.006635, allocations: 8 kB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.006686, allocations: 50.52 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006687, allocations: 0 / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.033e-05/0.006768, allocations: 69.61 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.00678, allocations: 8 kB / 298 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006785, allocations: 4 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.0068, allocations: 3.984 kB / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.006913, allocations: 27.98 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.006917, allocations: 0 / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.006947, allocations: 4 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.006955, allocations: 4 kB / 298 MB, free: 0.8242 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.753e-05/0.007043, allocations: 120.5 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.007078, allocations: 15.98 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.00729, allocations: 103.3 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.007294, allocations: 4 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007295, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007299, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.00763, allocations: 289.7 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.007634, allocations: 3.984 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.007699, allocations: 27.92 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.007714, allocations: 19.89 kB / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007717, allocations: 3.938 kB / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.007725, allocations: 4 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.007728, allocations: 3.938 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007731, allocations: 8.031 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.007837, allocations: 174.6 kB / 298.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.007868, allocations: 8.078 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.007904, allocations: 4 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.007935, allocations: 15.92 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.007941, allocations: 3.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.864e-05/0.007989, allocations: 65.55 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007989, allocations: 0 / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.008142, allocations: 27.94 kB / 298.9 MB, free: 15.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001333/0.009475, allocations: 0.6358 MB / 299.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.009585, allocations: 56.7 kB / 299.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.009594, allocations: 4 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.009636, allocations: 40.84 kB / 299.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.009842, allocations: 87.66 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.01036, allocations: 282.2 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.0104, allocations: 75.33 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.01045, allocations: 20.47 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.01051, allocations: 67.47 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.472e-06/0.01051, allocations: 0 / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003793/0.01431, allocations: 1.767 MB / 301.9 MB, free: 13.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.89878102671355]