Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.002084/0.002084, allocations: 116.6 kB / 18.49 MB, free: 4.59 MB / 14.72 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.001531/0.001531, allocations: 193 kB / 21.43 MB, free: 1.66 MB / 14.72 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 1.501/1.501, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 55.86 kB / 366.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1381, allocations: 52.13 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003129/0.1413, allocations: 1.647 MB / 420.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1435, allocations: 1.212 MB / 421.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.1436, allocations: 4 kB / 421.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1439, allocations: 35.77 kB / 421.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1441, allocations: 39.72 kB / 421.4 MB, free: 9.641 MB / 350.1 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.0008086/0.1449, allocations: 287.2 kB / 421.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1452, allocations: 183.5 kB / 421.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.1452, allocations: 13.11 kB / 421.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1454, allocations: 87.67 kB / 422 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.1461, allocations: 114.2 kB / 422.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.1461, allocations: 12 kB / 422.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.1466, allocations: 279.5 kB / 422.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1467, allocations: 51.88 kB / 422.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.1468, allocations: 75.53 kB / 422.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.1473, allocations: 326.9 kB / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1473, allocations: 0 / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1473, allocations: 0 / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1473, allocations: 0 / 422.8 MB, free: 8.242 MB / 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.001341/0.1487, allocations: 0.5605 MB / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1487, allocations: 8.031 kB / 423.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.1488, allocations: 4.188 kB / 423.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.1488, allocations: 38.73 kB / 423.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.149, allocations: 28.83 kB / 423.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.1496, allocations: 284.2 kB / 423.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1496, allocations: 8 kB / 423.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1496, allocations: 8 kB / 423.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1499, allocations: 109.6 kB / 423.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1499, allocations: 0 / 423.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1499, allocations: 3.938 kB / 423.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1499, allocations: 3.984 kB / 423.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.1501, allocations: 79.94 kB / 423.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009835/0.1511, allocations: 456.4 kB / 424.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1514, allocations: 118.5 kB / 424.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1515, allocations: 56.83 kB / 424.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1515, allocations: 0 / 424.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.1518, allocations: 119.4 kB / 424.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1518, allocations: 0 / 424.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005356/0.1523, allocations: 233.4 kB / 424.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.1524, allocations: 59.41 kB / 425 MB, free: 5.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.1528, allocations: 256.7 kB / 425.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1529, allocations: 33.7 kB / 425.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.153, allocations: 112.1 kB / 425.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.153, allocations: 47.78 kB / 425.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1531, allocations: 45.69 kB / 425.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1533, allocations: 330.8 kB / 425.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1534, allocations: 83.95 kB / 425.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1536, allocations: 114.2 kB / 426 MB, free: 4.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.154, allocations: 181.6 kB / 426.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.154, allocations: 0 / 426.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004558/0.1544, allocations: 253.3 kB / 426.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1544, allocations: 8 kB / 426.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1545, allocations: 0 / 426.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1545, allocations: 0 / 426.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1547, allocations: 35.95 kB / 426.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1547, allocations: 0 / 426.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1549, allocations: 31.86 kB / 426.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1549, allocations: 7.984 kB / 426.5 MB, free: 4.34 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.0001683/0.1551, allocations: 145.7 kB / 426.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1551, allocations: 19.86 kB / 426.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.1552, allocations: 21.52 kB / 426.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1552, allocations: 4 kB / 426.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1552, allocations: 0 / 426.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1552, allocations: 0 / 426.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1554, allocations: 245.5 kB / 426.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1554, allocations: 96 / 426.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1556, allocations: 19.92 kB / 426.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1556, allocations: 0 / 426.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1556, allocations: 4 kB / 426.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1556, allocations: 0 / 426.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1556, allocations: 0 / 426.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.1561, allocations: 288.9 kB / 427.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1563, allocations: 109 kB / 427.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.1563, allocations: 7.984 kB / 427.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1565, allocations: 15.98 kB / 427.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.1565, allocations: 11.98 kB / 427.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1565, allocations: 7.938 kB / 427.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.1569, allocations: 192.5 kB / 427.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1569, allocations: 0 / 427.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.1573, allocations: 87.8 kB / 427.6 MB, free: 3.078 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.001469/0.1588, allocations: 0.9668 MB / 428.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.1592, allocations: 167.9 kB / 428.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1592, allocations: 0 / 428.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1593, allocations: 59.91 kB / 428.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1595, allocations: 23.8 kB / 428.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.1633, allocations: 2.381 MB / 431.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1637, allocations: 0.7279 MB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1639, allocations: 33.41 kB / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.164, allocations: 55.41 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.164, allocations: 0 / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.1895, allocations: 5.159 MB / 437.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/8.857, allocations: 6.875 kB / 437.2 MB, free: 9.531 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.733290325966664]