Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.0008022/0.0008022, allocations: 79.7 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.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.0008312/0.0008312, allocations: 174.3 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.8699/0.8699, allocations: 177.2 MB / 204.3 MB, free: 5.73 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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.782e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003215/0.003242, allocations: 1.641 MB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005128, allocations: 1.196 MB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.005224, allocations: 0 / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.005585, allocations: 43.64 kB / 327.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.894e-05/0.005674, allocations: 35.83 kB / 327.5 MB, free: 13 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.0006154/0.006289, allocations: 326.7 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.006481, allocations: 147.6 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.006572, allocations: 13.27 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.006746, allocations: 99.7 kB / 328.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.007141, allocations: 106.5 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.992e-05/0.007181, allocations: 12 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.007565, allocations: 311.2 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.007641, allocations: 55.81 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.007698, allocations: 47.84 kB / 328.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.008103, allocations: 363 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.008106, allocations: 0 / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008108, allocations: 0 / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.008112, allocations: 0 / 328.9 MB, free: 11.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007673/0.008879, allocations: 0.4923 MB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.008917, allocations: 8.031 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.00895, allocations: 34.75 kB / 329.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.009082, allocations: 36.77 kB / 329.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.009381, allocations: 214.4 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.009398, allocations: 12.36 kB / 329.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.009421, allocations: 8.375 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.009572, allocations: 105.9 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.009581, allocations: 7.938 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.009591, allocations: 0 / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.009596, allocations: 0 / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.009714, allocations: 79.94 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.01026, allocations: 395.7 kB / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.01044, allocations: 122.4 kB / 330.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.0105, allocations: 52.83 kB / 330.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.01052, allocations: 3.984 kB / 330.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.01066, allocations: 115.3 kB / 330.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.01067, allocations: 0 / 330.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003157/0.01098, allocations: 234.5 kB / 330.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.01102, allocations: 67.39 kB / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01124, allocations: 243.9 kB / 331.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01127, allocations: 33.7 kB / 331.2 MB, free: 9.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.01132, allocations: 120.1 kB / 331.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.01136, allocations: 43.8 kB / 331.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.01141, allocations: 45.69 kB / 331.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.0115, allocations: 334.8 kB / 331.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.0116, allocations: 91.8 kB / 331.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.0117, allocations: 106.7 kB / 331.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.01189, allocations: 183 kB / 332.1 MB, free: 8.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01189, allocations: 3.938 kB / 332.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002552/0.01215, allocations: 257.3 kB / 332.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01216, allocations: 4 kB / 332.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01216, allocations: 0 / 332.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01218, allocations: 4.031 kB / 332.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01228, allocations: 39.91 kB / 332.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01229, allocations: 0 / 332.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01239, allocations: 23.88 kB / 332.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.01241, allocations: 15.98 kB / 332.4 MB, free: 7.863 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.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 8.167e-05/0.01249, allocations: 133.8 kB / 332.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.0125, allocations: 15.91 kB / 332.6 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.01254, allocations: 21.47 kB / 332.6 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01254, allocations: 8 kB / 332.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01254, allocations: 3.938 kB / 332.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01255, allocations: 0 / 332.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.01268, allocations: 204.6 kB / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01269, allocations: 0 / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.01275, allocations: 15.98 kB / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01275, allocations: 3.984 kB / 332.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01276, allocations: 4 kB / 332.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01276, allocations: 4 kB / 332.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01276, allocations: 3.938 kB / 332.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.01305, allocations: 287.6 kB / 333.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.0131, allocations: 27.88 kB / 333.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01312, allocations: 4 kB / 333.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.0132, allocations: 23.97 kB / 333.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01323, allocations: 11.92 kB / 333.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01324, allocations: 0 / 333.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.01343, allocations: 197.3 kB / 333.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01343, allocations: 4.062 kB / 333.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.01367, allocations: 87.8 kB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0007987/0.01447, allocations: 0.9769 MB / 334.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.0147, allocations: 159.8 kB / 334.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.0147, allocations: 0 / 334.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.01477, allocations: 63.95 kB / 334.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01493, allocations: 23.72 kB / 334.7 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.01701, allocations: 2.361 MB / 337 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.01708, allocations: 119.4 kB / 337.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.01715, allocations: 29.47 kB / 337.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.01722, allocations: 52.47 kB / 337.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01722, allocations: 0 / 337.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.03647, allocations: 5.971 MB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.823, allocations: 4 kB / 343.2 MB, free: 13.02 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.00308741722256]