Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.0008137/0.0008137, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007734/0.0007734, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8986/0.8986, allocations: 173.3 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.956e-05, allocations: 6.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002337/0.002366, allocations: 1.451 MB / 319.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.003231, allocations: 0.569 MB / 320.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.003284, allocations: 0 / 320.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003386, allocations: 7.875 kB / 320.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.003459, allocations: 31.72 kB / 320.5 MB, free: 4.281 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006203/0.004079, allocations: 147.4 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.004233, allocations: 119.6 kB / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.004278, allocations: 1.312 kB / 320.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.004359, allocations: 71.8 kB / 320.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.00478, allocations: 66.34 kB / 320.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.004809, allocations: 12 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.005035, allocations: 143.6 kB / 321 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.00508, allocations: 31.91 kB / 321.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.005127, allocations: 39.84 kB / 321.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.005413, allocations: 215.4 kB / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005416, allocations: 0 / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005417, allocations: 0 / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005422, allocations: 0 / 321.3 MB, free: 3.453 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005195/0.005942, allocations: 380.8 kB / 321.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.005986, allocations: 12.92 kB / 321.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.006055, allocations: 46.69 kB / 321.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.006255, allocations: 40.77 kB / 321.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.006377, allocations: 149.5 kB / 321.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.006401, allocations: 4.375 kB / 321.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.00642, allocations: 12.12 kB / 322 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.006612, allocations: 115.3 kB / 322.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.006621, allocations: 0 / 322.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.006632, allocations: 0 / 322.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.006637, allocations: 4 kB / 322.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.006755, allocations: 63.89 kB / 322.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.007361, allocations: 403.9 kB / 322.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.007596, allocations: 121.2 kB / 322.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.007669, allocations: 53.75 kB / 322.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.007684, allocations: 0 / 322.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.007933, allocations: 140.7 kB / 322.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.007934, allocations: 0 / 322.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004109/0.008345, allocations: 241.5 kB / 323.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.008413, allocations: 93.05 kB / 323.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.008553, allocations: 174.2 kB / 323.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.008583, allocations: 53.69 kB / 323.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.008643, allocations: 100.6 kB / 323.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.008675, allocations: 47.67 kB / 323.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.008736, allocations: 49.94 kB / 323.6 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.008835, allocations: 342.7 kB / 323.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.008955, allocations: 92.47 kB / 324 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.00909, allocations: 132.3 kB / 324.1 MB, free: 420 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.009315, allocations: 218.9 kB / 324.3 MB, free: 192 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.009318, allocations: 0 / 324.3 MB, free: 192 kB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003194/0.009637, allocations: 285.5 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.009654, allocations: 4 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.009662, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.009677, allocations: 4 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.009772, allocations: 31.91 kB / 324.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009778, allocations: 4.062 kB / 324.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.009826, allocations: 31.78 kB / 324.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.009839, allocations: 8 kB / 324.7 MB, free: 15.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001177/0.009957, allocations: 145.9 kB / 324.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.009973, allocations: 11.91 kB / 324.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.009999, allocations: 17.45 kB / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01, allocations: 0 / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01001, allocations: 3.938 kB / 324.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01001, allocations: 11.94 kB / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.01017, allocations: 172.5 kB / 325.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01017, allocations: 0 / 325.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.01019, allocations: 11.98 kB / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01019, allocations: 0 / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01021, allocations: 4 kB / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01021, allocations: 0 / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01021, allocations: 0 / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.01046, allocations: 217.8 kB / 325.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01048, allocations: 19.84 kB / 325.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.0105, allocations: 15.98 kB / 325.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.01053, allocations: 4 kB / 325.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.01059, allocations: 23.84 kB / 325.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.0106, allocations: 4 kB / 325.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.65e-05/0.01068, allocations: 128.2 kB / 325.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 0 / 325.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.01094, allocations: 47.89 kB / 325.5 MB, free: 14.93 MB / 298.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: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0008456/0.01179, allocations: 0.9132 MB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.01205, allocations: 188.4 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01205, allocations: 0 / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.01212, allocations: 51.97 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.01224, allocations: 15.92 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.01392, allocations: 2.111 MB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.01399, allocations: 102.3 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.459e-05/0.01404, allocations: 16.97 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.0141, allocations: 40.47 kB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.0141, allocations: 0 / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02982, allocations: 4.408 MB / 333.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.7, allocations: 14.91 kB / 333.4 MB, free: 7.074 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.395952669903636]