Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.0008842/0.0008842, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001129/0.001129, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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.8854/0.8854, allocations: 177.2 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.346e-05, allocations: 6.219 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001875/0.001898, allocations: 1.524 MB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.00349, allocations: 1.399 MB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.003544, allocations: 0 / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.003644, allocations: 19.75 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.003721, allocations: 23.8 kB / 327.5 MB, free: 12.81 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.004526, allocations: 410.4 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004666, allocations: 135.6 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.004709, allocations: 5.688 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.004785, allocations: 79.73 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.005208, allocations: 77.59 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.00523, allocations: 12 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.005717, allocations: 439 kB / 328.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.005765, allocations: 35.84 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.00581, allocations: 47.83 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.006267, allocations: 454.7 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006271, allocations: 4 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006272, allocations: 0 / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.006278, allocations: 0 / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000594/0.006872, allocations: 451.7 kB / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006909, allocations: 12.03 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.00697, allocations: 46.67 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.007114, allocations: 36.78 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.007236, allocations: 151.2 kB / 329.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.007253, allocations: 4.375 kB / 329.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.00727, allocations: 12.38 kB / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.00746, allocations: 128.5 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.007468, allocations: 11.92 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.007477, allocations: 0 / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.007481, allocations: 0 / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.007608, allocations: 67.94 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.008118, allocations: 0.5077 MB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.008324, allocations: 144 kB / 330.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.008396, allocations: 62.48 kB / 330.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.008405, allocations: 0 / 330.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.008607, allocations: 160.7 kB / 331 MB, free: 9.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.008608, allocations: 0 / 331 MB, free: 9.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003652/0.008973, allocations: 253.4 kB / 331.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.009035, allocations: 122.8 kB / 331.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.009174, allocations: 195 kB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.009203, allocations: 49.69 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.00926, allocations: 116.7 kB / 331.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.009292, allocations: 47.67 kB / 331.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.009355, allocations: 53.69 kB / 331.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.009447, allocations: 338.7 kB / 332.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.009576, allocations: 100.5 kB / 332.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.009723, allocations: 135.2 kB / 332.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.009976, allocations: 232.2 kB / 332.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.009979, allocations: 0 / 332.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003181/0.0103, allocations: 297.4 kB / 332.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01031, allocations: 8 kB / 332.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01032, allocations: 0 / 332.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01034, allocations: 11.94 kB / 332.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.01043, allocations: 28.08 kB / 332.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01044, allocations: 7.984 kB / 332.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.01049, allocations: 23.84 kB / 333 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.0105, allocations: 4 kB / 333 MB, free: 7.109 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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 0.0001327/0.01064, allocations: 153.7 kB / 333.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.01065, allocations: 11.91 kB / 333.1 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.01068, allocations: 17.45 kB / 333.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01068, allocations: 4.094 kB / 333.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01069, allocations: 7.984 kB / 333.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01069, allocations: 0 / 333.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01084, allocations: 188.6 kB / 333.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01084, allocations: 0 / 333.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.01087, allocations: 11.94 kB / 333.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01087, allocations: 0 / 333.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01088, allocations: 7.984 kB / 333.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01088, allocations: 3.938 kB / 333.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01088, allocations: 4 kB / 333.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.01113, allocations: 241 kB / 333.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.01116, allocations: 27.83 kB / 333.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01118, allocations: 4.094 kB / 333.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.01121, allocations: 15.92 kB / 333.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.01127, allocations: 15.92 kB / 333.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01128, allocations: 4 kB / 333.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.01137, allocations: 145.1 kB / 333.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01137, allocations: 0 / 333.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004309/0.0118, allocations: 119.7 kB / 333.9 MB, free: 6.078 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001089/0.01289, allocations: 1.094 MB / 335 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01315, allocations: 187.7 kB / 335.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01315, allocations: 4 kB / 335.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.01323, allocations: 51.97 kB / 335.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.01336, allocations: 16.19 kB / 335.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.01537, allocations: 2.333 MB / 337.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.609e-05/0.01546, allocations: 111.4 kB / 337.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.01552, allocations: 17.48 kB / 337.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.01559, allocations: 44.48 kB / 337.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01559, allocations: 0 / 337.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.03612, allocations: 6.371 MB / 344.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.831, allocations: 7.031 kB / 344.1 MB, free: 11.83 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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: 8.474475817754865]