Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001748/0.001748, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002058/0.002058, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 207.6 MB / 231.8 MB, free: 4.051 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 55.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09606, allocations: 49.12 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003087/0.09915, allocations: 1.666 MB / 393.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1014, allocations: 1.241 MB / 394.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1015, allocations: 0 / 394.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.1019, allocations: 31.78 kB / 394.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.102, allocations: 47.7 kB / 394.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008004/0.1028, allocations: 287.2 kB / 394.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.1031, allocations: 179.5 kB / 394.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1032, allocations: 17.11 kB / 394.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1034, allocations: 87.67 kB / 395 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.1036, allocations: 103.6 kB / 395.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1036, allocations: 12 kB / 395.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.1041, allocations: 295.4 kB / 395.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.1042, allocations: 55.88 kB / 395.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.1043, allocations: 71.53 kB / 395.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.1048, allocations: 334.8 kB / 395.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1048, allocations: 4 kB / 395.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1048, allocations: 0 / 395.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1048, allocations: 0 / 395.8 MB, free: 4.281 MB / 318.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.001365/0.1062, allocations: 0.5644 MB / 396.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1062, allocations: 11.97 kB / 396.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.1063, allocations: 42.73 kB / 396.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.1064, allocations: 28.84 kB / 396.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.1069, allocations: 269 kB / 396.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.107, allocations: 384 / 396.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.107, allocations: 16.31 kB / 396.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1072, allocations: 105.7 kB / 396.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1072, allocations: 0 / 396.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1073, allocations: 7.938 kB / 396.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1073, allocations: 8 kB / 396.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1075, allocations: 75.94 kB / 396.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.1084, allocations: 452.5 kB / 397.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1087, allocations: 122.5 kB / 397.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1088, allocations: 48.83 kB / 397.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1088, allocations: 4 kB / 397.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.109, allocations: 115.5 kB / 397.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 3.466e-06/0.109, allocations: 3.984 kB / 397.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.000556/0.1096, allocations: 245.5 kB / 397.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.1097, allocations: 59.41 kB / 398 MB, free: 1.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.1101, allocations: 247.7 kB / 398.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.1101, allocations: 37.7 kB / 398.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.1102, allocations: 112.1 kB / 398.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.1103, allocations: 47.77 kB / 398.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.1104, allocations: 49.67 kB / 398.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1105, allocations: 338.8 kB / 398.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1107, allocations: 87.75 kB / 398.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1109, allocations: 109.7 kB / 399 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1113, allocations: 181.6 kB / 399.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1113, allocations: 0 / 399.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005/0.1118, allocations: 261.5 kB / 399.4 MB, free: 456 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1118, allocations: 8 kB / 399.4 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1118, allocations: 3.938 kB / 399.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1118, allocations: 3.938 kB / 399.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.112, allocations: 35.97 kB / 399.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.112, allocations: 0 / 399.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1122, allocations: 19.94 kB / 399.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1123, allocations: 11.98 kB / 399.5 MB, free: 372 kB / 318.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.0001791/0.1124, allocations: 145.5 kB / 399.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1125, allocations: 15.91 kB / 399.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.1125, allocations: 21.53 kB / 399.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1126, allocations: 3.938 kB / 399.7 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.1126, allocations: 0 / 399.7 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.1126, allocations: 7.984 kB / 399.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.1129, allocations: 237.5 kB / 399.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1129, allocations: 0 / 399.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.113, allocations: 19.98 kB / 399.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.1131, allocations: 4 kB / 399.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.1131, allocations: 8.078 kB / 399.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1131, allocations: 7.875 kB / 399.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1131, allocations: 0 / 399.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.1136, allocations: 280.8 kB / 400.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1137, allocations: 105 kB / 400.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.1138, allocations: 4.062 kB / 400.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.114, allocations: 35.84 kB / 400.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.114, allocations: 4 kB / 400.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.114, allocations: 7.984 kB / 400.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003424/0.1144, allocations: 185.4 kB / 400.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1144, allocations: 0 / 400.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.1148, allocations: 95.73 kB / 400.6 MB, free: 15.1 MB / 334.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.001644/0.1165, allocations: 0.9869 MB / 401.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.117, allocations: 167.8 kB / 401.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.117, allocations: 0 / 401.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.1172, allocations: 67.97 kB / 401.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1175, allocations: 16 kB / 401.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.1214, allocations: 2.381 MB / 404.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.1219, allocations: 0.7241 MB / 405 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.122, allocations: 33.34 kB / 405 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1221, allocations: 55.41 kB / 405.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1221, allocations: 0 / 405.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.1546, allocations: 5.29 MB / 410.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.416, allocations: 0 / 410.4 MB, free: 5.184 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.185654726010398]