Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001986, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006522/0.0006522, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009767/0.001629, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8942/0.8942, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1676/1.062, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.131/0.131, allocations: 32.8 MB / 272 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01926/0.1502, allocations: 12.54 MB / 284.5 MB, free: 9.738 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.048e-05, allocations: 6.312 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002823/0.002843, allocations: 1.667 MB / 287.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.003548, allocations: 426.8 kB / 288 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.0036, allocations: 0 / 288 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.003803, allocations: 75.66 kB / 288 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.003955, allocations: 63.8 kB / 288.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.004215, allocations: 103.6 kB / 288.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.004378, allocations: 75.75 kB / 288.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.004467, allocations: 12.12 kB / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.004581, allocations: 59.88 kB / 288.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004682, allocations: 43.89 kB / 288.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004701, allocations: 4 kB / 288.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.004802, allocations: 47.86 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.004848, allocations: 11.94 kB / 288.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.004875, allocations: 11.94 kB / 288.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.005052, allocations: 83.73 kB / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.005063, allocations: 0 / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005064, allocations: 4 kB / 288.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.005074, allocations: 0 / 288.6 MB, free: 5.715 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.0004219/0.005495, allocations: 323.9 kB / 288.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005529, allocations: 8.031 kB / 288.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.005563, allocations: 4.938 kB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005723, allocations: 148.6 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.005732, allocations: 384 / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.005755, allocations: 8.359 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.005865, allocations: 58.94 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.005875, allocations: 192 / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.005884, allocations: 7.938 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.00589, allocations: 0 / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.005921, allocations: 8 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.006168, allocations: 175 kB / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.006228, allocations: 22.58 kB / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.006246, allocations: 12.94 kB / 289.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.006264, allocations: 0 / 289.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.006293, allocations: 46.5 kB / 289.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.006294, allocations: 0 / 289.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005926/0.006886, allocations: 153.7 kB / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.006919, allocations: 51.41 kB / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.007051, allocations: 168.3 kB / 289.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.007061, allocations: 25.7 kB / 289.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.007095, allocations: 108 kB / 289.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.007118, allocations: 27.75 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.007148, allocations: 21.7 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.007216, allocations: 322.8 kB / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.007228, allocations: 7.984 kB / 290.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.007239, allocations: 4 kB / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.007271, allocations: 32.83 kB / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.007274, allocations: 3.938 kB / 290.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.346e-05/0.007337, allocations: 61.61 kB / 290.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00735, allocations: 4 kB / 290.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.007353, allocations: 0 / 290.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.007363, allocations: 0 / 290.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.007446, allocations: 19.98 kB / 290.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007449, allocations: 0 / 290.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.007468, allocations: 4 kB / 290.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.007473, allocations: 4 kB / 290.4 MB, free: 3.75 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 (8): * Single equations (assignments): 8 * 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.121e-05/0.007525, allocations: 116.6 kB / 290.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.007543, allocations: 15.98 kB / 290.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.00763, allocations: 66.39 kB / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.007632, allocations: 0 / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.007633, allocations: 0 / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.007636, allocations: 0 / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.007862, allocations: 255.9 kB / 290.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007864, allocations: 0 / 290.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.007904, allocations: 23.98 kB / 290.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.007913, allocations: 15.94 kB / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007915, allocations: 0 / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.007919, allocations: 0 / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007921, allocations: 0 / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007922, allocations: 4 kB / 290.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.007999, allocations: 164.2 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.00801, allocations: 8 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.008041, allocations: 7.984 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.008066, allocations: 3.984 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.00807, allocations: 4 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.008105, allocations: 49.34 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008105, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.00824, allocations: 27.92 kB / 291.1 MB, free: 2.938 MB / 282.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 (8): * Single equations (assignments): 8 * 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.001196/0.009435, allocations: 0.6276 MB / 291.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.009505, allocations: 24.86 kB / 291.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.009511, allocations: 3.984 kB / 291.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.00954, allocations: 28.78 kB / 291.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.009727, allocations: 79.39 kB / 291.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.01013, allocations: 227.4 kB / 292.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.01016, allocations: 67.34 kB / 292.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.01019, allocations: 17.27 kB / 292.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.01024, allocations: 63.38 kB / 292.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01024, allocations: 0 / 292.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of Templates: time 0.00263/0.01287, allocations: 1.466 MB / 293.7 MB, free: 0.5938 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.6885829279199243]