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.001434/0.001434, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 14.72 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.001489/0.001489, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.617/1.617, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001569/0.001569, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3341, allocations: 53.37 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003349/0.3375, allocations: 1.677 MB / 432.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3399, allocations: 1.29 MB / 434.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.34, allocations: 4 kB / 434.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3403, allocations: 27.78 kB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.3405, allocations: 47.69 kB / 434.2 MB, free: 3.824 MB / 334.1 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.0008785/0.3413, allocations: 303.2 kB / 434.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.3417, allocations: 207.5 kB / 434.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3418, allocations: 13.27 kB / 434.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.342, allocations: 91.67 kB / 434.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.3427, allocations: 119.8 kB / 434.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.3427, allocations: 12 kB / 434.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.3433, allocations: 323.4 kB / 435.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3434, allocations: 47.89 kB / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.3435, allocations: 67.58 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.344, allocations: 335.2 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.344, allocations: 0 / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.344, allocations: 4 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.344, allocations: 0 / 435.7 MB, free: 2.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001265/0.3453, allocations: 488.9 kB / 436.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.3454, allocations: 16.03 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.3454, allocations: 38.73 kB / 436.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.3456, allocations: 32.73 kB / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.3461, allocations: 223 kB / 436.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3462, allocations: 4.375 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.3462, allocations: 11.94 kB / 436.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3464, allocations: 101.6 kB / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3465, allocations: 7.938 kB / 436.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3465, allocations: 3.984 kB / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3465, allocations: 0 / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.3467, allocations: 83.88 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3477, allocations: 419.6 kB / 437.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.348, allocations: 118.5 kB / 437.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3482, allocations: 56.83 kB / 437.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3482, allocations: 96 / 437.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.3484, allocations: 115.3 kB / 437.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3484, allocations: 4 kB / 437.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005388/0.3489, allocations: 237.5 kB / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.349, allocations: 59.41 kB / 437.6 MB, free: 208 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.3495, allocations: 243.9 kB / 437.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3495, allocations: 37.69 kB / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.3496, allocations: 112.1 kB / 438 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.3497, allocations: 47.78 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.3497, allocations: 45.7 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3499, allocations: 330.8 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3501, allocations: 87.94 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.3503, allocations: 109.6 kB / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.3506, allocations: 185.6 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3506, allocations: 0 / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004484/0.351, allocations: 245.4 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3511, allocations: 15.88 kB / 439.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3511, allocations: 0 / 439.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3511, allocations: 0 / 439.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.3513, allocations: 39.91 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3513, allocations: 0 / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3515, allocations: 35.89 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3515, allocations: 4 kB / 439.2 MB, free: 14.64 MB / 350.1 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 0.0001613/0.3517, allocations: 146 kB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.3517, allocations: 19.94 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.3518, allocations: 21.41 kB / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3518, allocations: 0 / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3518, allocations: 0 / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3518, allocations: 3.984 kB / 439.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.352, allocations: 216.5 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.352, allocations: 4 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3522, allocations: 15.98 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3522, allocations: 3.938 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3522, allocations: 7.984 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3522, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3522, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.3527, allocations: 282.7 kB / 439.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.3528, allocations: 35.86 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3528, allocations: 11.94 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.353, allocations: 15.97 kB / 439.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.3531, allocations: 11.98 kB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3531, allocations: 0 / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003392/0.3534, allocations: 189.4 kB / 440.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3534, allocations: 4.062 kB / 440.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.3539, allocations: 87.8 kB / 440.2 MB, free: 13.52 MB / 350.1 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.0015/0.3554, allocations: 0.9746 MB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.3557, allocations: 161.5 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3557, allocations: 0 / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3559, allocations: 63.97 kB / 441.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.3562, allocations: 19.98 kB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.3612, allocations: 2.363 MB / 443.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.3618, allocations: 0.7396 MB / 444.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.362, allocations: 33.41 kB / 444.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3621, allocations: 51.36 kB / 444.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3621, allocations: 0 / 444.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.4038, allocations: 5.336 MB / 449.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.52, allocations: 22.2 kB / 450 MB, free: 3.793 MB / 350.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/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: 16.561421348014846]