Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 55.91 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2862, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002845/0.2891, allocations: 1.559 MB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.2901, allocations: 0.491 MB / 425.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2901, allocations: 3.938 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.2902, allocations: 7.922 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.2902, allocations: 7.875 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.2905, allocations: 51.83 kB / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2906, allocations: 43.91 kB / 425.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2907, allocations: 23.92 kB / 425.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.2908, allocations: 23.88 kB / 425.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.2908, allocations: 27.83 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2909, allocations: 4 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.2911, allocations: 43.91 kB / 425.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2911, allocations: 7.938 kB / 425.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2911, allocations: 27.86 kB / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2913, allocations: 83.22 kB / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2913, allocations: 4 kB / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2913, allocations: 0 / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2913, allocations: 0 / 425.5 MB, free: 12.05 MB / 334.1 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.000484/0.2918, allocations: 308.6 kB / 425.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2918, allocations: 8.031 kB / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.2922, allocations: 48.83 kB / 425.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2923, allocations: 122.4 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2924, allocations: 8.375 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2924, allocations: 7.938 kB / 426 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.2926, allocations: 85.64 kB / 426.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2926, allocations: 0 / 426.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2926, allocations: 7.938 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2926, allocations: 4 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.2929, allocations: 63.95 kB / 426.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.2934, allocations: 272.3 kB / 426.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.2936, allocations: 70.53 kB / 426.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2937, allocations: 36.91 kB / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2938, allocations: 0 / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2938, allocations: 38.56 kB / 426.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.2938, allocations: 0 / 426.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004053/0.2942, allocations: 121.6 kB / 426.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2942, allocations: 59.34 kB / 426.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2943, allocations: 117.8 kB / 426.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2944, allocations: 29.7 kB / 426.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.2944, allocations: 96.03 kB / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.2945, allocations: 23.84 kB / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.2945, allocations: 13.72 kB / 427 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2946, allocations: 318.8 kB / 427.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2947, allocations: 27.92 kB / 427.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.2948, allocations: 35.91 kB / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.295, allocations: 52.83 kB / 427.4 MB, free: 9.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.295, allocations: 0 / 427.4 MB, free: 9.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002694/0.2953, allocations: 97.64 kB / 427.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2953, allocations: 6.188 kB / 427.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2953, allocations: 0 / 427.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2953, allocations: 0 / 427.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2954, allocations: 19.92 kB / 427.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2954, allocations: 11.94 kB / 427.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.2955, allocations: 15.88 kB / 427.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2955, allocations: 4 kB / 427.6 MB, free: 9.793 MB / 334.1 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 9.724e-05/0.2956, allocations: 113.8 kB / 427.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2957, allocations: 0 / 427.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.296, allocations: 109.7 kB / 427.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.296, allocations: 3.938 kB / 427.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.296, allocations: 4.5 kB / 427.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.296, allocations: 0 / 427.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.2962, allocations: 133.2 kB / 427.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2962, allocations: 4 kB / 427.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.2963, allocations: 23.92 kB / 428 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2963, allocations: 0 / 428 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2963, allocations: 4 kB / 428 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2963, allocations: 0 / 428 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.2963, allocations: 7.922 kB / 428 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.2967, allocations: 199.4 kB / 428.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.2967, allocations: 11.94 kB / 428.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2967, allocations: 0 / 428.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2968, allocations: 7.984 kB / 428.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2968, allocations: 7.938 kB / 428.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2969, allocations: 3.984 kB / 428.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.2969, allocations: 87.28 kB / 428.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2969, allocations: 0 / 428.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.2972, allocations: 16 kB / 428.3 MB, free: 9.004 MB / 334.1 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 0.0001113/0.2973, allocations: 107.1 kB / 428.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.2975, allocations: 59.95 kB / 428.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2975, allocations: 0 / 428.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.2976, allocations: 35.97 kB / 428.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2979, allocations: 7.938 kB / 428.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.2984, allocations: 201.3 kB / 428.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.2985, allocations: 75.33 kB / 428.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.2985, allocations: 8 kB / 428.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2986, allocations: 7.438 kB / 428.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2986, allocations: 0 / 428.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of Templates: time 0.00375/0.3023, allocations: 0.8432 MB / 429.6 MB, free: 7.633 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.591756347566843]