Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.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.001168/0.001168, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002814, 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.0007856/0.0007856, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.002406, 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.9828/0.9828, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.084, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.716e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00189/0.001908, allocations: 1.67 MB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.002572, allocations: 0.5693 MB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.002618, allocations: 4 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.002648, allocations: 7.875 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.002695, allocations: 11.88 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.002847, allocations: 51.75 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.002932, allocations: 47.86 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003041, allocations: 19.91 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.003116, allocations: 43.91 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.003174, allocations: 15.97 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.003193, allocations: 8 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.00338, allocations: 51.84 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003398, allocations: 8 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003417, allocations: 15.94 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003556, allocations: 67.69 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.003569, allocations: 7.938 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003569, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.00358, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004304/0.00401, allocations: 296.2 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.004054, allocations: 12.62 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.004378, allocations: 133.9 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.00447, allocations: 117.7 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.004487, allocations: 4.375 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.004502, allocations: 8.375 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.004639, allocations: 82.84 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004647, allocations: 192 / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.004657, allocations: 4.375 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004664, allocations: 3.938 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.0047, allocations: 15.98 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.005054, allocations: 220.1 kB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.005137, allocations: 42.5 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.00516, allocations: 8.859 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.005176, allocations: 3.984 kB / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.005201, allocations: 34.56 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.005202, allocations: 0 / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.000148/0.00535, allocations: 57.73 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.005383, allocations: 55.41 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.005452, allocations: 114.7 kB / 249 MB, free: 9.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005463, allocations: 25.7 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.005507, allocations: 111.9 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.00553, allocations: 11.86 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.005561, allocations: 17.7 kB / 249.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.005647, allocations: 318.8 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.005661, allocations: 8 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.005675, allocations: 7.984 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.005719, allocations: 20.78 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.005722, allocations: 3.938 kB / 249.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.95e-05/0.005782, allocations: 45.69 kB / 249.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.005792, allocations: 4 kB / 249.6 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005796, allocations: 4 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.005806, allocations: 0 / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.005882, allocations: 23.97 kB / 249.6 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005885, allocations: 3.984 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.00591, allocations: 4 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.005915, allocations: 4 kB / 249.6 MB, free: 8.984 MB / 250.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 5.061e-05/0.005966, allocations: 117.8 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.00598, allocations: 7.938 kB / 249.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.809e-05/0.006068, allocations: 70.16 kB / 249.8 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00607, allocations: 0 / 249.8 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.006073, allocations: 8.062 kB / 249.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006077, allocations: 3.984 kB / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.689e-05/0.006164, allocations: 77.88 kB / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006165, allocations: 0 / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.006209, allocations: 19.98 kB / 249.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.006216, allocations: 7.891 kB / 249.9 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.006217, allocations: 0 / 249.9 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.006222, allocations: 4 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006222, allocations: 4 kB / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006223, allocations: 0 / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.848e-05/0.006302, allocations: 155.4 kB / 250.1 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.006311, allocations: 0 / 250.1 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.00635, allocations: 7.984 kB / 250.1 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.006365, allocations: 0 / 250.1 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.00637, allocations: 8 kB / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.72e-05/0.006387, allocations: 24.77 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006387, allocations: 0 / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001122/0.006499, allocations: 8 kB / 250.1 MB, free: 8.422 MB / 250.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 (6): * Single equations (assignments): 6 * 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 6.017e-05/0.00656, allocations: 76.42 kB / 250.2 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.006633, allocations: 28.78 kB / 250.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.006638, allocations: 4 kB / 250.2 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.006665, allocations: 20.84 kB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.006818, allocations: 67.52 kB / 250.3 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.007154, allocations: 164.2 kB / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.007185, allocations: 63.34 kB / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.007215, allocations: 8 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.007276, allocations: 63.36 kB / 250.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007276, allocations: 0 / 250.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of Templates: time 0.002004/0.00928, allocations: 0.8036 MB / 251.4 MB, free: 7.062 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.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.4534639371559024]