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.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001445/0.001445, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001431/0.001431, allocations: 51.91 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2625, allocations: 53.37 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002925/0.2654, allocations: 1.65 MB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.2677, allocations: 1.181 MB / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.2678, allocations: 0 / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.2681, allocations: 39.7 kB / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2682, allocations: 39.75 kB / 434 MB, free: 3.758 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.0007419/0.2689, allocations: 311.2 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.2692, allocations: 203.5 kB / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.2693, allocations: 9.266 kB / 434.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2695, allocations: 95.67 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.27, allocations: 116.9 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2701, allocations: 16 kB / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.2706, allocations: 323.4 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.2707, allocations: 51.83 kB / 435.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.2708, allocations: 59.58 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.2712, allocations: 332.8 kB / 435.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2712, allocations: 0 / 435.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2712, allocations: 0 / 435.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2712, allocations: 4 kB / 435.5 MB, free: 2.27 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.001184/0.2724, allocations: 496.8 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2725, allocations: 8.031 kB / 436 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.2725, allocations: 42.73 kB / 436 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2727, allocations: 24.8 kB / 436 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.2732, allocations: 219.1 kB / 436.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2732, allocations: 384 / 436.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.2732, allocations: 19.92 kB / 436.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.2734, allocations: 105.6 kB / 436.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2734, allocations: 4 kB / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2735, allocations: 4 kB / 436.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2735, allocations: 0 / 436.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.2737, allocations: 75.92 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.2745, allocations: 399.7 kB / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.2747, allocations: 122.4 kB / 437 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2749, allocations: 60.77 kB / 437 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.2749, allocations: 0 / 437 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.2751, allocations: 115.3 kB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2751, allocations: 0 / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005296/0.2756, allocations: 237.6 kB / 437.4 MB, free: 236 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.2757, allocations: 59.39 kB / 437.4 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.2761, allocations: 243.8 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.2762, allocations: 41.69 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.2762, allocations: 116.1 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.2763, allocations: 43.78 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.2764, allocations: 45.7 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2765, allocations: 334.8 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2767, allocations: 79.95 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.2769, allocations: 109.7 kB / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.2771, allocations: 181.6 kB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2772, allocations: 0 / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004325/0.2776, allocations: 257.6 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2776, allocations: 15.88 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2776, allocations: 3.984 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2776, allocations: 0 / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.2778, allocations: 27.98 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2778, allocations: 0 / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.278, allocations: 31.86 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.278, allocations: 8.031 kB / 438.9 MB, free: 14.6 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.0001567/0.2782, allocations: 141.8 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.2782, allocations: 23.78 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.2783, allocations: 21.45 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2783, allocations: 0 / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2783, allocations: 0 / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2783, allocations: 4 kB / 439.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.2785, allocations: 196.6 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2785, allocations: 4 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2786, allocations: 19.98 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2787, allocations: 3.938 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2787, allocations: 0 / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2787, allocations: 0 / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2787, allocations: 3.938 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.2792, allocations: 275.9 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.2793, allocations: 39.86 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2793, allocations: 11.92 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2795, allocations: 20.05 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.2796, allocations: 11.98 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2796, allocations: 7.984 kB / 439.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.2799, allocations: 189.4 kB / 439.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2799, allocations: 0 / 439.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.2803, allocations: 87.8 kB / 440 MB, free: 13.49 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.001353/0.2816, allocations: 0.9649 MB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.282, allocations: 167.4 kB / 441.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.282, allocations: 8 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2821, allocations: 59.95 kB / 441.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.2823, allocations: 17.42 kB / 441.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.2858, allocations: 2.371 MB / 443.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.2859, allocations: 111.3 kB / 443.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.286, allocations: 41.38 kB / 443.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2861, allocations: 47.42 kB / 443.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2861, allocations: 0 / 443.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.3212, allocations: 5.843 MB / 449.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.85, allocations: 10.39 kB / 449.6 MB, free: 3.91 MB / 350.1 MB " [Timeout remaining time 649] (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: 14.469681635993766]