Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001126/0.001126, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001897/0.003023, 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.00125/0.00125, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002752, 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.9789/0.9789, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09389/1.073, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.259/0.259, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02486/0.2838, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.218e-05, allocations: 3.078 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.002176/0.002199, allocations: 1.689 MB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.00354, allocations: 1.317 MB / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.003584, allocations: 4 kB / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.003688, allocations: 23.78 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.003856, allocations: 83.55 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.00407, allocations: 111.5 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.004181, allocations: 63.84 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.967e-05/0.004251, allocations: 19.97 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.00433, allocations: 59.83 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.004414, allocations: 19.92 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.004427, allocations: 4 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.004566, allocations: 99.81 kB / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.004596, allocations: 4 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.00462, allocations: 11.94 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004788, allocations: 131.5 kB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.004799, allocations: 0 / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0048, allocations: 0 / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.004809, allocations: 3.938 kB / 296.3 MB, free: 2.629 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.0003432/0.005153, allocations: 317.2 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.005179, allocations: 8.031 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.005204, allocations: 8.922 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.005323, allocations: 125.7 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.00533, allocations: 4.375 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.005344, allocations: 384 / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.005453, allocations: 94.31 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.00546, allocations: 192 / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005469, allocations: 8.125 kB / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.005472, allocations: 0 / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.005496, allocations: 19.97 kB / 296.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.005693, allocations: 171.1 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.005815, allocations: 33.34 kB / 297 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.005831, allocations: 8.938 kB / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.005847, allocations: 0 / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.005866, allocations: 38.5 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.005867, allocations: 0 / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002536/0.006121, allocations: 89.78 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.006147, allocations: 55.41 kB / 297.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.006245, allocations: 146 kB / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.006255, allocations: 25.7 kB / 297.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.006285, allocations: 92.08 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.006304, allocations: 19.83 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.006329, allocations: 17.72 kB / 297.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.006403, allocations: 318.8 kB / 297.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.006413, allocations: 4 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.006438, allocations: 43.42 kB / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.006464, allocations: 27.61 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.006465, allocations: 0 / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.101e-05/0.006516, allocations: 49.62 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.006528, allocations: 12.02 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.006531, allocations: 0 / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.006537, allocations: 0 / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.006578, allocations: 12 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.00658, allocations: 0 / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.006597, allocations: 3.984 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.006602, allocations: 8 kB / 298 MB, free: 0.7188 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.702e-05/0.006649, allocations: 112.7 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.006666, allocations: 11.88 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.006742, allocations: 62.38 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006745, allocations: 8 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006747, allocations: 4.062 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.006749, allocations: 0 / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.006912, allocations: 206.8 kB / 298.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006914, allocations: 3.938 kB / 298.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.006942, allocations: 11.98 kB / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.006949, allocations: 7.953 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006951, allocations: 0 / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.006955, allocations: 0 / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.006957, allocations: 4 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006958, allocations: 7.938 kB / 298.4 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.007025, allocations: 151.5 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.007034, allocations: 0 / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.007066, allocations: 4 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.007085, allocations: 7.984 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.007087, allocations: 3.938 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.767e-05/0.007115, allocations: 29.39 kB / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007115, allocations: 0 / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.007284, allocations: 39.91 kB / 298.7 MB, free: 15.99 MB / 298.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.00161/0.008895, allocations: 0.6917 MB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.438e-05/0.008969, allocations: 20.84 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.008976, allocations: 4 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.008993, allocations: 16.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.009146, allocations: 39.86 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.0003465/0.009493, allocations: 162.6 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.009526, allocations: 63.34 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.009563, allocations: 15.8 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.009623, allocations: 67.36 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009623, allocations: 4 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of Templates: time 0.003215/0.01284, allocations: 2.035 MB / 301.8 MB, free: 13.22 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.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.8501394279301167]