Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0009377/0.0009377, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009073/0.0009073, allocations: 169.2 kB / 24.91 MB, free: 8.656 MB / 18.57 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.9276/0.9276, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.264/0.264, allocations: 34.27 MB / 296.1 MB, free: 0.6523 MB / 266.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.46e-05, allocations: 9.578 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002985/0.00301, allocations: 1.651 MB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.004029, allocations: 0.5452 MB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.004087, allocations: 0 / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.00437, allocations: 83.7 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.004697, allocations: 99.52 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.005004, allocations: 119.6 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.005178, allocations: 83.75 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.005271, allocations: 19.92 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.005366, allocations: 43.89 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005477, allocations: 51.88 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.005493, allocations: 4 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.005589, allocations: 47.92 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.005639, allocations: 19.92 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.005669, allocations: 15.92 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.005847, allocations: 91.61 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005849, allocations: 0 / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.00585, allocations: 0 / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.005853, allocations: 0 / 328.1 MB, free: 4.758 MB / 298.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.0003786/0.006232, allocations: 317.6 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.006265, allocations: 8.031 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.006299, allocations: 8.875 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.006465, allocations: 147.4 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.006476, allocations: 8.375 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.006496, allocations: 384 / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.006602, allocations: 58.94 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006612, allocations: 4.188 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.006621, allocations: 4.125 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006626, allocations: 0 / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.006656, allocations: 11.98 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.006928, allocations: 175.5 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.006987, allocations: 29.47 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.007008, allocations: 12.86 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.007024, allocations: 0 / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.007053, allocations: 42.58 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.007055, allocations: 3.938 kB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005451/0.0076, allocations: 141.8 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.007634, allocations: 55.41 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.007777, allocations: 181.5 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.007791, allocations: 29.7 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.00783, allocations: 100.1 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.007861, allocations: 31.73 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.007899, allocations: 17.7 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.007994, allocations: 326.8 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.008015, allocations: 4 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.008032, allocations: 8 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.008085, allocations: 31.66 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008087, allocations: 0 / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.318e-05/0.00818, allocations: 65.78 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.008194, allocations: 8 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.0082, allocations: 3.984 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.008214, allocations: 7.984 kB / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.008297, allocations: 12 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-06/0.008301, allocations: 0 / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.008333, allocations: 7.984 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.00834, allocations: 0 / 330 MB, free: 2.77 MB / 298.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 7.229e-05/0.008412, allocations: 116.7 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.008447, allocations: 15.94 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.008588, allocations: 79 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.00859, allocations: 0 / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008592, allocations: 4 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.008596, allocations: 4 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.008932, allocations: 247.5 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.008936, allocations: 3.984 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.009, allocations: 16 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.009003, allocations: 0 / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009011, allocations: 7.938 kB / 330.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009013, allocations: 0 / 330.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.009015, allocations: 3.938 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.009143, allocations: 156.3 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.009161, allocations: 19.92 kB / 330.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.009178, allocations: 4 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.009245, allocations: 4 kB / 330.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.009275, allocations: 7.984 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.009281, allocations: 0 / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.009347, allocations: 52.14 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009347, allocations: 0 / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.009594, allocations: 20 kB / 330.7 MB, free: 1.953 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 (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.00172/0.01131, allocations: 0.5804 MB / 331.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01142, allocations: 36.77 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01142, allocations: 0 / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.01146, allocations: 24.78 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01169, allocations: 24.05 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.01209, allocations: 231.6 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.01215, allocations: 71.33 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.01219, allocations: 5.047 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.01227, allocations: 63.36 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01227, allocations: 0 / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of Templates: time 0.003979/0.01625, allocations: 1.525 MB / 333.3 MB, free: 15.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.8321464471518993]