Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.89 kB / 373 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1242, allocations: 53.37 MB / 426.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003128/0.1273, allocations: 1.671 MB / 428 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1296, allocations: 1.266 MB / 429.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.1296, allocations: 0 / 429.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.13, allocations: 35.77 kB / 429.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1301, allocations: 39.72 kB / 429.4 MB, free: 1.551 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007501/0.1309, allocations: 291.2 kB / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1312, allocations: 183.5 kB / 429.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.1312, allocations: 13.12 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1314, allocations: 87.72 kB / 429.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.1321, allocations: 111.9 kB / 430 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.1321, allocations: 12 kB / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.1325, allocations: 291.5 kB / 430.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.1326, allocations: 51.83 kB / 430.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.1327, allocations: 75.58 kB / 430.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.1332, allocations: 322.9 kB / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1332, allocations: 0 / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1332, allocations: 0 / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1332, allocations: 4 kB / 430.8 MB, free: 144 kB / 350.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.2167/0.3499, allocations: 0.5545 MB / 431.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.35, allocations: 9.375 kB / 431.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.35, allocations: 42.77 kB / 431.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.3502, allocations: 32.38 kB / 431.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.3507, allocations: 267.5 kB / 431.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3507, allocations: 8.672 kB / 431.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3507, allocations: 9.938 kB / 431.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.351, allocations: 102 kB / 431.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.351, allocations: 6.469 kB / 431.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.351, allocations: 1.312 kB / 431.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.351, allocations: 3.031 kB / 431.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3512, allocations: 78.22 kB / 431.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.352, allocations: 457.4 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3522, allocations: 117.3 kB / 432.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3523, allocations: 57.8 kB / 432.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3523, allocations: 4.188 kB / 432.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.3525, allocations: 117 kB / 432.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3525, allocations: 0 / 432.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004824/0.353, allocations: 235 kB / 432.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3531, allocations: 62.14 kB / 432.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.3534, allocations: 252.3 kB / 433.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3535, allocations: 32.98 kB / 433.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.3535, allocations: 118 kB / 433.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3536, allocations: 43.64 kB / 433.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.3536, allocations: 46.36 kB / 433.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.3537, allocations: 335.1 kB / 433.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3538, allocations: 80.62 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.354, allocations: 104.7 kB / 433.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3543, allocations: 187.3 kB / 434.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3543, allocations: 1.188 kB / 434.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003987/0.3547, allocations: 259 kB / 434.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3547, allocations: 5.656 kB / 434.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3547, allocations: 1.156 kB / 434.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.3547, allocations: 2.781 kB / 434.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3549, allocations: 31.34 kB / 434.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3549, allocations: 6.625 kB / 434.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3551, allocations: 34.05 kB / 434.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3551, allocations: 7.219 kB / 434.4 MB, free: 9.469 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.0001007/0.3552, allocations: 136.8 kB / 434.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.3552, allocations: 16.2 kB / 434.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.3553, allocations: 26.05 kB / 434.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3553, allocations: 1.062 kB / 434.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3553, allocations: 4.688 kB / 434.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3553, allocations: 3.469 kB / 434.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3555, allocations: 241.3 kB / 434.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3555, allocations: 3.438 kB / 434.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.3556, allocations: 17.09 kB / 434.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3556, allocations: 0 / 434.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3556, allocations: 5.812 kB / 434.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3556, allocations: 0 / 434.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3557, allocations: 5.25 kB / 434.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.3561, allocations: 281.5 kB / 435.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.3562, allocations: 110.5 kB / 435.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.3562, allocations: 8.812 kB / 435.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3564, allocations: 17.78 kB / 435.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.3564, allocations: 17.7 kB / 435.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.3564, allocations: 9.906 kB / 435.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.3567, allocations: 187.2 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3567, allocations: 0 / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000373/0.3571, allocations: 89.16 kB / 435.6 MB, free: 8.871 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.001116/0.3582, allocations: 0.9572 MB / 436.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.3586, allocations: 166 kB / 436.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3586, allocations: 0 / 436.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3588, allocations: 59.22 kB / 436.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.359, allocations: 21.25 kB / 436.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.3621, allocations: 2.37 MB / 439.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.3623, allocations: 0.7275 MB / 439.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.3624, allocations: 32.69 kB / 439.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3625, allocations: 49.44 kB / 440 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3625, allocations: 0 / 440 MB, free: 5.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.4033, allocations: 5.158 MB / 445.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.415, allocations: 14.47 kB / 445.1 MB, free: 5.207 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00249994 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv","/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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.059317584033124]