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.005366/0.005366, allocations: 101.8 kB / 21.96 MB, free: 5.215 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.001456/0.001456, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.378/1.378, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="cs",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.001858/0.001858, allocations: 53.8 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2474, allocations: 49.16 MB / 397.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002465/0.2498, allocations: 1.62 MB / 398.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2516, allocations: 1.16 MB / 399.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.2516, allocations: 5.375 kB / 399.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.2519, allocations: 30.3 kB / 399.9 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.252, allocations: 50.23 kB / 400 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.2527, allocations: 310 kB / 400.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.253, allocations: 201.1 kB / 400.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.2531, allocations: 17.39 kB / 400.5 MB, free: 7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2533, allocations: 91.78 kB / 400.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2534, allocations: 103.4 kB / 400.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.2535, allocations: 12.66 kB / 400.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.254, allocations: 334.5 kB / 401 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.2541, allocations: 57.89 kB / 401.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.2541, allocations: 56.55 kB / 401.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.2546, allocations: 339 kB / 401.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2546, allocations: 0 / 401.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2546, allocations: 0 / 401.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2546, allocations: 0 / 401.5 MB, free: 6.641 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.001083/0.2557, allocations: 0.4918 MB / 402 MB, free: 6.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2558, allocations: 18.2 kB / 402 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.251e-05/0.2558, allocations: 1.156 kB / 402 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.519e-05/0.2558, allocations: 39.55 kB / 402 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.256, allocations: 26.22 kB / 402.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.2564, allocations: 215.6 kB / 402.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2564, allocations: 16.44 kB / 402.3 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.2564, allocations: 10.66 kB / 402.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.2566, allocations: 103.7 kB / 402.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2566, allocations: 0 / 402.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2567, allocations: 2.156 kB / 402.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2567, allocations: 1.406 kB / 402.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2568, allocations: 83.23 kB / 402.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.2576, allocations: 407.2 kB / 402.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.2578, allocations: 115 kB / 403 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.2579, allocations: 54.89 kB / 403 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2579, allocations: 5.156 kB / 403 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.2581, allocations: 118.7 kB / 403.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.2581, allocations: 0 / 403.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004549/0.2586, allocations: 237.4 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2586, allocations: 57.23 kB / 403.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.259, allocations: 246.7 kB / 403.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.259, allocations: 36.2 kB / 403.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.259, allocations: 120.8 kB / 403.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.2591, allocations: 41.02 kB / 403.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.2592, allocations: 53.08 kB / 403.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.2592, allocations: 338.6 kB / 404.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.2594, allocations: 87.25 kB / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2595, allocations: 106.8 kB / 404.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.2598, allocations: 182.1 kB / 404.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2598, allocations: 0 / 404.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000413/0.2602, allocations: 260.5 kB / 404.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2603, allocations: 4.844 kB / 404.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2603, allocations: 1 kB / 404.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2603, allocations: 5.969 kB / 404.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.2605, allocations: 36.28 kB / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2605, allocations: 1.719 kB / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2607, allocations: 29.48 kB / 405 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2607, allocations: 6.266 kB / 405 MB, free: 4.387 MB / 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.0001034/0.2608, allocations: 137.4 kB / 405.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.2608, allocations: 15.38 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.2609, allocations: 27.95 kB / 405.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2609, allocations: 1.609 kB / 405.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2609, allocations: 4 kB / 405.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2609, allocations: 1.781 kB / 405.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.261, allocations: 197.5 kB / 405.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.261, allocations: 0 / 405.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2612, allocations: 15.09 kB / 405.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2612, allocations: 2.078 kB / 405.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2612, allocations: 5.953 kB / 405.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2612, allocations: 5.016 kB / 405.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2612, allocations: 1.469 kB / 405.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.2616, allocations: 285.5 kB / 405.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.2617, allocations: 36.86 kB / 405.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.2618, allocations: 8.5 kB / 405.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2619, allocations: 17.44 kB / 405.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.262, allocations: 12.22 kB / 405.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.262, allocations: 3.375 kB / 405.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.2623, allocations: 184.7 kB / 405.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2623, allocations: 0 / 405.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.2628, allocations: 93.8 kB / 406 MB, free: 3.73 MB / 318.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.001215/0.264, allocations: 0.9954 MB / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.2644, allocations: 166.3 kB / 407.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2644, allocations: 3.938 kB / 407.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.2645, allocations: 62.94 kB / 407.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.2647, allocations: 17.08 kB / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.2676, allocations: 2.38 MB / 409.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.2677, allocations: 115.1 kB / 409.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.851e-05/0.2678, allocations: 32.47 kB / 409.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.2679, allocations: 48.31 kB / 409.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2679, allocations: 0 / 409.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.2957, allocations: 5.578 MB / 415.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.29, allocations: 7.25 kB / 415.4 MB, free: 14.43 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 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.mat","/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.734604147961363]