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.0008419/0.0008419, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001968, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007148/0.0007148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009/0.001615, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9472/0.9472, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08215/1.029, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2829/0.2829, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02311/0.306, allocations: 13.1 MB / 291.3 MB, free: 7.371 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 3.376e-06/3.376e-06, allocations: 3.938 kB / 292.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.184e-05, allocations: 2.312 kB / 292.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003836/0.003868, allocations: 1.72 MB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004945, allocations: 0.5685 MB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.005013, allocations: 4 kB / 294.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.00526, allocations: 99.61 kB / 295 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.005537, allocations: 107.5 kB / 295.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.005893, allocations: 119.6 kB / 295.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.006102, allocations: 99.8 kB / 295.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.006224, allocations: 27.86 kB / 295.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.006377, allocations: 79.86 kB / 295.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.006505, allocations: 51.88 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.006528, allocations: 8 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.006644, allocations: 47.86 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.006701, allocations: 31.86 kB / 295.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.006741, allocations: 15.94 kB / 295.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.006942, allocations: 99.59 kB / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.00696, allocations: 0 / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006961, allocations: 0 / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.006978, allocations: 0 / 295.7 MB, free: 3.191 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.0005836/0.007562, allocations: 356.9 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.007599, allocations: 16.62 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.00764, allocations: 12.92 kB / 296.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.00781, allocations: 149.5 kB / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.007821, allocations: 4.375 kB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.007843, allocations: 8.375 kB / 296.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.007961, allocations: 67.92 kB / 296.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.00797, allocations: 8.109 kB / 296.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.007978, allocations: 8.125 kB / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.007982, allocations: 0 / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.008014, allocations: 26.67 kB / 296.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.008255, allocations: 207 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.00832, allocations: 42.5 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.00834, allocations: 16.8 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.008363, allocations: 4 kB / 296.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.008383, allocations: 34.56 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.008384, allocations: 0 / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004882/0.008872, allocations: 201.9 kB / 296.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.0089, allocations: 59.41 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.009008, allocations: 193 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.009018, allocations: 29.7 kB / 297.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.00905, allocations: 100 kB / 297.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.00908, allocations: 43.64 kB / 297.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.009114, allocations: 33.69 kB / 297.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.009186, allocations: 330.7 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.009202, allocations: 8 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.009219, allocations: 16.11 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.009269, allocations: 39.66 kB / 297.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.00927, allocations: 4 kB / 297.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.257e-05/0.009343, allocations: 75.11 kB / 297.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.009354, allocations: 4 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.009358, allocations: 0 / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.00937, allocations: 4 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.009452, allocations: 31.97 kB / 297.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.009455, allocations: 0 / 297.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.009473, allocations: 7.938 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.009479, allocations: 0 / 297.8 MB, free: 0.9336 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 6.129e-05/0.00954, allocations: 124.6 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.009561, allocations: 19.92 kB / 298 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.009687, allocations: 103.3 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009691, allocations: 4 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.009692, allocations: 0 / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009695, allocations: 0 / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.009941, allocations: 288.1 kB / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009942, allocations: 0 / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.009996, allocations: 31.92 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.01001, allocations: 15.89 kB / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01001, allocations: 32 / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.01001, allocations: 12 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01002, allocations: 3.938 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01002, allocations: 0 / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.01011, allocations: 176.1 kB / 298.6 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01012, allocations: 8 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/0.01016, allocations: 0 / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.01018, allocations: 15.86 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.01019, allocations: 8 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.01023, allocations: 57.61 kB / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01023, allocations: 3.938 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.01038, allocations: 35.97 kB / 298.7 MB, free: 15.98 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.001356/0.01174, allocations: 0.6235 MB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.01183, allocations: 52.78 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.01184, allocations: 4 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.01187, allocations: 36.77 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01204, allocations: 23.98 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.0125, allocations: 278.5 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.01255, allocations: 71.33 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.01259, allocations: 28.53 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.01265, allocations: 59.38 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01265, allocations: 0 / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Templates: time 0.00323/0.01588, allocations: 1.79 MB / 301.7 MB, free: 13.34 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9306308859959245]