Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002782, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002582, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9008/0.9008, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09024/0.991, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.274/0.274, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03915/0.3131, allocations: 13.24 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.503e-05, allocations: 10.48 kB / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003858/0.003883, allocations: 1.285 MB / 295.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005469/0.004429, allocations: 440.5 kB / 295.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.083e-05/0.00444, allocations: 0 / 295.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.085e-06/0.004448, allocations: 0 / 295.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.677e-05/0.004465, allocations: 0 / 295.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.004835, allocations: 63.75 kB / 295.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.004882, allocations: 11.92 kB / 295.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.004919, allocations: 7.938 kB / 295.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.004957, allocations: 4 kB / 295.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.005131, allocations: 31.97 kB / 295.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.005141, allocations: 0 / 295.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.005208, allocations: 19.98 kB / 295.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.005219, allocations: 0 / 295.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-06/0.005228, allocations: 0 / 295.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.884e-05/0.005297, allocations: 7.938 kB / 296 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.005308, allocations: 0 / 296 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.00531, allocations: 4 kB / 296 MB, free: 3.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.005319, allocations: 0 / 296 MB, free: 3.238 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001924/0.005511, allocations: 208.8 kB / 296.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.782e-05/0.005599, allocations: 20.86 kB / 296.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.005742, allocations: 86.03 kB / 296.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.136e-05/0.005794, allocations: 105.8 kB / 296.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.005802, allocations: 4.359 kB / 296.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.005811, allocations: 8.375 kB / 296.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.005875, allocations: 51.97 kB / 296.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-06/0.005879, allocations: 192 / 296.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.005885, allocations: 4.312 kB / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.005888, allocations: 384 / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-06/0.005897, allocations: 7.938 kB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.006083, allocations: 290.9 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.006134, allocations: 165.1 kB / 296.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.006155, allocations: 84.17 kB / 297 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.006175, allocations: 83.22 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.006205, allocations: 105.8 kB / 297.2 MB, free: 1.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 5.72e-07/0.006205, allocations: 0 / 297.2 MB, free: 1.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.143e-05/0.006247, allocations: 29.7 kB / 297.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.00628, allocations: 130.6 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.006551, allocations: 94.72 kB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.006557, allocations: 25.7 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.006594, allocations: 105.3 kB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.006596, allocations: 0 / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.006613, allocations: 9.719 kB / 297.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.006675, allocations: 314.8 kB / 297.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-06/0.006679, allocations: 4 kB / 297.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.006684, allocations: 3.938 kB / 297.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.654e-05/0.0067, allocations: 8.859 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006702, allocations: 0 / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.636e-05/0.006748, allocations: 29.7 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.006759, allocations: 12.08 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006763, allocations: 0 / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.006771, allocations: 0 / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.959e-05/0.006801, allocations: 7.938 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.006803, allocations: 0 / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-06/0.00681, allocations: 0 / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.006813, allocations: 0 / 297.9 MB, free: 1.094 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 (1): * Single equations (assignments): 1 * 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 6.2e-05/0.006875, allocations: 197 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.006905, allocations: 101 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.006937, allocations: 104 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/0.006977, allocations: 192.2 kB / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/0.007016, allocations: 180.2 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-05/0.007056, allocations: 180.2 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.007182, allocations: 313.5 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/0.007211, allocations: 113 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.007234, allocations: 108.9 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.007261, allocations: 105 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.551e-05/0.007296, allocations: 180.2 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.007336, allocations: 180.5 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-05/0.007372, allocations: 184.3 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.673e-05/0.007409, allocations: 184.1 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/0.007489, allocations: 311.8 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.007531, allocations: 176.3 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.007572, allocations: 105 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.007613, allocations: 184.2 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/0.007865, allocations: 101 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.007876, allocations: 8.797 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007876, allocations: 4 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001003/0.007976, allocations: 0 / 301.1 MB, free: 13.78 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 (0): * Single equations (assignments): 0 * 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 9.202e-05/0.008068, allocations: 147.7 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.554e-05/0.008114, allocations: 20.88 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.008118, allocations: 0 / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.00812, allocations: 0 / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.008299, allocations: 466.2 kB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.008574, allocations: 166.3 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.629e-05/0.0086, allocations: 59.28 kB / 301.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.408e-05/0.008614, allocations: 0 / 301.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.008639, allocations: 47.38 kB / 301.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008639, allocations: 0 / 301.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Templates: time 0.00116/0.009799, allocations: 184.4 kB / 302.1 MB, free: 12.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.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.5603535007685423]