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.005032/0.005032, allocations: 109.7 kB / 21.97 MB, free: 5.195 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.001406/0.001406, allocations: 215.5 kB / 25.28 MB, free: 3.207 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.425/1.425, allocations: 207.6 MB / 236 MB, free: 10.87 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.001791/0.001791, allocations: 51.94 kB / 348 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2777, allocations: 49.16 MB / 397.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003146/0.2808, allocations: 1.653 MB / 398.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.283, allocations: 1.257 MB / 400.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2831, allocations: 5.219 kB / 400.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.2835, allocations: 35.72 kB / 400.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.2836, allocations: 45.72 kB / 400.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.2846, allocations: 309 kB / 400.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.285, allocations: 201.7 kB / 400.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2851, allocations: 20.2 kB / 400.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.2853, allocations: 84.73 kB / 400.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.2855, allocations: 110.7 kB / 400.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.2856, allocations: 13.28 kB / 400.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006608/0.2862, allocations: 334.6 kB / 401.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.2863, allocations: 57.53 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.2864, allocations: 73.3 kB / 401.3 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.287, allocations: 333.4 kB / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.287, allocations: 0 / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.287, allocations: 1.25 kB / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.287, allocations: 0 / 401.6 MB, free: 6.426 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.001241/0.2883, allocations: 0.4906 MB / 402.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2883, allocations: 13.39 kB / 402.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.683e-05/0.2884, allocations: 1.344 kB / 402.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.2884, allocations: 39.39 kB / 402.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.2886, allocations: 26.38 kB / 402.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.2891, allocations: 220.7 kB / 402.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.2891, allocations: 11.45 kB / 402.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.2892, allocations: 11.83 kB / 402.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.2894, allocations: 106.2 kB / 402.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2894, allocations: 1.062 kB / 402.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2894, allocations: 0 / 402.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2894, allocations: 3.016 kB / 402.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.2896, allocations: 77.92 kB / 402.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.2904, allocations: 433.2 kB / 403.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2907, allocations: 119 kB / 403.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2908, allocations: 61.98 kB / 403.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2908, allocations: 1.094 kB / 403.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.291, allocations: 113.5 kB / 403.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.291, allocations: 0 / 403.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005191/0.2915, allocations: 232.2 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2916, allocations: 62.83 kB / 403.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.292, allocations: 250.5 kB / 403.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.292, allocations: 36.36 kB / 403.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.2921, allocations: 116.6 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.2922, allocations: 49.45 kB / 404.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.2922, allocations: 49.16 kB / 404.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.2923, allocations: 333.1 kB / 404.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2925, allocations: 90.38 kB / 404.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.2927, allocations: 105.3 kB / 404.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2931, allocations: 182.5 kB / 404.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2931, allocations: 0 / 404.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005101/0.2936, allocations: 260.3 kB / 405.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2936, allocations: 10.58 kB / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2936, allocations: 0 / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2936, allocations: 5.844 kB / 405.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.2938, allocations: 32.05 kB / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2939, allocations: 1.375 kB / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2941, allocations: 30.42 kB / 405.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2941, allocations: 4.969 kB / 405.2 MB, free: 4.164 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.0001128/0.2942, allocations: 137.4 kB / 405.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.2942, allocations: 15.7 kB / 405.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.2943, allocations: 27.97 kB / 405.3 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2943, allocations: 1.281 kB / 405.3 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2943, allocations: 1.188 kB / 405.3 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2943, allocations: 0.5625 kB / 405.3 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.2945, allocations: 210.8 kB / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2946, allocations: 4.938 kB / 405.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2947, allocations: 16.2 kB / 405.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2947, allocations: 0 / 405.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.2947, allocations: 14.62 kB / 405.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2947, allocations: 1.625 kB / 405.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2947, allocations: 0 / 405.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.2953, allocations: 286.4 kB / 405.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.2953, allocations: 30.66 kB / 405.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.2954, allocations: 18.64 kB / 405.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2956, allocations: 23.78 kB / 405.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2956, allocations: 7.953 kB / 405.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2956, allocations: 3.5 kB / 405.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.2959, allocations: 187.9 kB / 406.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2959, allocations: 0 / 406.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.2965, allocations: 91.55 kB / 406.2 MB, free: 3.496 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.001257/0.2978, allocations: 0.9741 MB / 407.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.2982, allocations: 164.3 kB / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2982, allocations: 1.375 kB / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2983, allocations: 62.94 kB / 407.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2986, allocations: 17.5 kB / 407.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.3021, allocations: 2.378 MB / 409.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3023, allocations: 0.7273 MB / 410.5 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.3024, allocations: 39.41 kB / 410.6 MB, free: 428 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/0.3025, allocations: 49.72 kB / 410.6 MB, free: 392 kB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3025, allocations: 4.188 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.3359, allocations: 5.491 MB / 416.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.89, allocations: 3.391 kB / 416.1 MB, free: 13.68 MB / 334.1 MB " [Timeout remaining time 648] (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: 15.414191741030663]