Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001018/0.001018, allocations: 88.05 kB / 20.67 MB, free: 3.871 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.0009234/0.0009234, allocations: 145.1 kB / 23.93 MB, free: 0.6172 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.9124/0.9124, allocations: 173.4 MB / 200.5 MB, free: 9.41 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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 318.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/3.006e-05, allocations: 6.219 kB / 318.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002367/0.002397, allocations: 1.778 MB / 320.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.003859, allocations: 0.9429 MB / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.003972, allocations: 0 / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.004096, allocations: 27.67 kB / 321.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.004271, allocations: 35.66 kB / 321.2 MB, free: 3.516 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.0005886/0.004859, allocations: 203.2 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.005069, allocations: 219.5 kB / 321.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.005214, allocations: 48.53 kB / 321.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.005347, allocations: 139.7 kB / 321.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.00584, allocations: 101.9 kB / 321.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.005881, allocations: 20 kB / 321.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.006133, allocations: 155.7 kB / 322.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.006191, allocations: 63.8 kB / 322.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.00626, allocations: 63.81 kB / 322.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.006661, allocations: 326.9 kB / 322.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006665, allocations: 0 / 322.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.006668, allocations: 3.984 kB / 322.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006673, allocations: 0 / 322.5 MB, free: 2.199 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008138/0.007487, allocations: 489.6 kB / 323 MB, free: 1.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.007528, allocations: 8.922 kB / 323 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.00764, allocations: 58.72 kB / 323.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.007784, allocations: 32.78 kB / 323.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.007987, allocations: 187 kB / 323.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.008012, allocations: 16.12 kB / 323.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.008046, allocations: 27.98 kB / 323.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.00836, allocations: 194.5 kB / 323.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.008369, allocations: 0 / 323.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.008387, allocations: 8 kB / 323.5 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008394, allocations: 4 kB / 323.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.008665, allocations: 164 kB / 323.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.009492, allocations: 0.4997 MB / 324.2 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.01011, allocations: 302.5 kB / 324.5 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.01027, allocations: 112.8 kB / 324.6 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.01029, allocations: 4 kB / 324.6 MB, free: 0 / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.01056, allocations: 162.3 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.01056, allocations: 0 / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006231/0.01118, allocations: 361.2 kB / 325.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.01123, allocations: 59.39 kB / 325.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.0114, allocations: 215.8 kB / 325.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.01143, allocations: 37.7 kB / 325.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.01152, allocations: 136.7 kB / 325.6 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.01157, allocations: 71.39 kB / 325.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.01182, allocations: 73.67 kB / 325.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.01191, allocations: 330.8 kB / 326 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.0121, allocations: 131.9 kB / 326.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.01231, allocations: 157.6 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.01267, allocations: 272.6 kB / 326.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01267, allocations: 0 / 326.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004816/0.01315, allocations: 376.9 kB / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01317, allocations: 4 kB / 327 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.01318, allocations: 4 kB / 327 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.0132, allocations: 3.938 kB / 327 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.01337, allocations: 71.97 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01338, allocations: 7.938 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.01347, allocations: 43.7 kB / 327.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.01349, allocations: 11.98 kB / 327.1 MB, free: 13.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001159/0.01361, allocations: 137.8 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.01363, allocations: 19.86 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.01368, allocations: 25.95 kB / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01369, allocations: 8 kB / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.0137, allocations: 4 kB / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.0137, allocations: 0 / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.01445, allocations: 0.5832 MB / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01446, allocations: 0 / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.01459, allocations: 47.89 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01459, allocations: 0 / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01461, allocations: 4 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01461, allocations: 4 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01461, allocations: 0 / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.01522, allocations: 494.6 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.01525, allocations: 23.83 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.01527, allocations: 8.062 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.01536, allocations: 23.97 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.01541, allocations: 15.92 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01542, allocations: 7.984 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.01551, allocations: 151.2 kB / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01551, allocations: 0 / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.01579, allocations: 71.81 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001339/0.01713, allocations: 1.112 MB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004808/0.01761, allocations: 276.9 kB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01761, allocations: 4 kB / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.01778, allocations: 103.9 kB / 330.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.01803, allocations: 28.23 kB / 330.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.0209, allocations: 2.789 MB / 333 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.108e-05/0.02099, allocations: 133.5 kB / 333.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.0211, allocations: 37.92 kB / 333.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.0212, allocations: 72.47 kB / 333.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.0212, allocations: 0 / 333.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.04125, allocations: 6.204 MB / 339.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.832, allocations: 7.922 kB / 339.5 MB, free: 1.035 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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: 9.085892021656036]