Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.000899/0.000899, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002322, 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.001291/0.001291, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002722, 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 1.048/1.048, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1203/1.168, allocations: 53.65 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.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.2646/0.2646, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02628/0.2909, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.CombiTable1Ds.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.869e-05, allocations: 3.438 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002418/0.002437, allocations: 1.699 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.003319, allocations: 0.5503 MB / 292.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.003375, allocations: 0 / 292.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.003603, allocations: 110.4 kB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.003835, allocations: 118.1 kB / 293.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.004073, allocations: 88.23 kB / 293.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.004235, allocations: 91.89 kB / 293.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.00432, allocations: 19.02 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.004442, allocations: 71.88 kB / 293.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.004553, allocations: 59.86 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.004568, allocations: 4 kB / 293.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.004662, allocations: 43.92 kB / 293.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.004708, allocations: 23.92 kB / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.004739, allocations: 15.94 kB / 293.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004899, allocations: 91.55 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.004914, allocations: 8 kB / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004915, allocations: 0 / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.004931, allocations: 0 / 293.6 MB, free: 5.293 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.0004122/0.005343, allocations: 344.4 kB / 293.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.005376, allocations: 12.03 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.005409, allocations: 8.922 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.005583, allocations: 162.2 kB / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.00559, allocations: 384 / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005608, allocations: 4.375 kB / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.005705, allocations: 54.95 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.005714, allocations: 8.172 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.005722, allocations: 4.125 kB / 294.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005727, allocations: 0 / 294.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.005754, allocations: 11.98 kB / 294.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.005977, allocations: 175 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.006029, allocations: 26.64 kB / 294.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.006049, allocations: 16.92 kB / 294.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.006069, allocations: 0 / 294.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.006093, allocations: 46.5 kB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.006094, allocations: 0 / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004655/0.006559, allocations: 137.4 kB / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.006592, allocations: 59.41 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.006731, allocations: 197.6 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006744, allocations: 33.7 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.006778, allocations: 92.11 kB / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.006803, allocations: 27.73 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.006838, allocations: 21.7 kB / 295 MB, free: 3.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.006925, allocations: 326.8 kB / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.006941, allocations: 8 kB / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.006954, allocations: 8 kB / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.006999, allocations: 33.05 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007, allocations: 0 / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.479e-05/0.007085, allocations: 69.55 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.007099, allocations: 7.984 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007104, allocations: 3.938 kB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.007112, allocations: 0 / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.007193, allocations: 16 kB / 295.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007196, allocations: 3.984 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.007221, allocations: 4 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.007226, allocations: 8 kB / 295.5 MB, free: 3.238 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.928e-05/0.007286, allocations: 112.7 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.007318, allocations: 15.92 kB / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.007427, allocations: 71.08 kB / 295.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.00743, allocations: 4 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.007431, allocations: 0 / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007434, allocations: 0 / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.007698, allocations: 255.5 kB / 295.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0077, allocations: 0 / 295.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.007752, allocations: 24.02 kB / 296 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.007764, allocations: 11.91 kB / 296 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007767, allocations: 0 / 296 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.007773, allocations: 4 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007775, allocations: 0 / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007776, allocations: 0 / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.007876, allocations: 168.2 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.00789, allocations: 4 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.007942, allocations: 3.984 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.007964, allocations: 4 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.007969, allocations: 4 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.812e-05/0.008038, allocations: 69.42 kB / 296.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008038, allocations: 0 / 296.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.008234, allocations: 23.92 kB / 296.3 MB, free: 2.414 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.001682/0.009916, allocations: 0.6356 MB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.816e-05/0.01, allocations: 44.7 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.01001, allocations: 4 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.01004, allocations: 24.78 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.01025, allocations: 20.98 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.01076, allocations: 242.6 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.01081, allocations: 71.33 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.01085, allocations: 21.08 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.01091, allocations: 55.38 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01091, allocations: 0 / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of Templates: time 0.003598/0.01451, allocations: 1.52 MB / 298.9 MB, free: 104 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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: 3.0697313798591495]