Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001055/0.001055, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.00249, 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.00135/0.00135, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.003008, 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.9517/0.9517, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.147/1.099, allocations: 52.49 MB / 238.5 MB, free: 7.598 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.1319/0.1319, allocations: 32.8 MB / 272 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02055/0.1525, allocations: 12.54 MB / 284.5 MB, free: 9.691 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.438e-05, allocations: 9.406 kB / 285.9 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002307/0.002321, allocations: 1.644 MB / 287.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.005946, allocations: 418.9 kB / 287.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.005988, allocations: 0 / 287.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.006106, allocations: 23.8 kB / 288 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.00621, allocations: 35.73 kB / 288 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.006408, allocations: 91.62 kB / 288.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.006535, allocations: 63.78 kB / 288.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.006612, allocations: 11.94 kB / 288.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.006696, allocations: 43.89 kB / 288.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.006747, allocations: 12 kB / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.006762, allocations: 0 / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.00683, allocations: 31.92 kB / 288.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.006867, allocations: 11.94 kB / 288.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.006891, allocations: 7.938 kB / 288.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.007022, allocations: 67.69 kB / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.007032, allocations: 0 / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007033, allocations: 4 kB / 288.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.007041, allocations: 0 / 288.3 MB, free: 5.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003538/0.007395, allocations: 292.2 kB / 288.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.007446, allocations: 8.031 kB / 288.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.007477, allocations: 4.938 kB / 288.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.007594, allocations: 129.7 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.0076, allocations: 384 / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.007618, allocations: 8.328 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.007696, allocations: 58.89 kB / 288.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.007705, allocations: 4.188 kB / 288.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.007711, allocations: 4.125 kB / 288.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.007715, allocations: 4 kB / 288.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.007733, allocations: 7.984 kB / 288.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.007902, allocations: 155.1 kB / 289 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.008014, allocations: 38.56 kB / 289 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.008026, allocations: 8.859 kB / 289 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.00804, allocations: 0 / 289 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.008057, allocations: 30.56 kB / 289.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.008058, allocations: 0 / 289.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002206/0.008278, allocations: 89.52 kB / 289.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.008304, allocations: 55.41 kB / 289.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.008429, allocations: 151.3 kB / 289.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.008441, allocations: 25.7 kB / 289.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.008467, allocations: 84.14 kB / 289.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.008487, allocations: 19.81 kB / 289.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.008511, allocations: 17.72 kB / 289.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.00858, allocations: 322.8 kB / 289.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.008594, allocations: 4 kB / 289.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.008603, allocations: 4 kB / 289.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.008627, allocations: 16.84 kB / 289.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.008627, allocations: 3.938 kB / 289.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.102e-05/0.008678, allocations: 57.62 kB / 289.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.008689, allocations: 4 kB / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.008692, allocations: 288 / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.008701, allocations: 0 / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.008751, allocations: 15.98 kB / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008754, allocations: 0 / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.008769, allocations: 0 / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.008774, allocations: 4 kB / 289.9 MB, free: 4.137 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 (5): * Single equations (assignments): 5 * 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 4.451e-05/0.008818, allocations: 112.7 kB / 290 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.008835, allocations: 19.84 kB / 290.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.008912, allocations: 62.34 kB / 290.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008914, allocations: 4 kB / 290.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.008915, allocations: 0 / 290.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.008917, allocations: 0 / 290.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.00908, allocations: 210.8 kB / 290.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009082, allocations: 7.875 kB / 290.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.009108, allocations: 11.98 kB / 290.3 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.009113, allocations: 4 kB / 290.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.009114, allocations: 0 / 290.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.009119, allocations: 4 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00912, allocations: 4 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009121, allocations: 0 / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.413e-05/0.009185, allocations: 139.5 kB / 290.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.009194, allocations: 4 kB / 290.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.009223, allocations: 7.984 kB / 290.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.009247, allocations: 4 kB / 290.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.00925, allocations: 0 / 290.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.009298, allocations: 31.66 kB / 290.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.009298, allocations: 3.938 kB / 290.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.009431, allocations: 19.94 kB / 290.6 MB, free: 3.438 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001138/0.01057, allocations: 0.5514 MB / 291.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.314e-05/0.01063, allocations: 24.8 kB / 291.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.01064, allocations: 0 / 291.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.01066, allocations: 25.03 kB / 291.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01084, allocations: 75.33 kB / 291.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.0112, allocations: 185.8 kB / 291.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.01124, allocations: 69.41 kB / 291.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.01127, allocations: 7.984 kB / 291.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.01131, allocations: 55.38 kB / 291.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01131, allocations: 0 / 291.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of Templates: time 0.002428/0.01374, allocations: 1.232 MB / 292.8 MB, free: 1.445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.632241290062666]