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.001375/0.001375, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001486/0.001486, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.355/1.355, allocations: 207.6 MB / 235.3 MB, free: 10.01 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="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.001737/0.001737, allocations: 51.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2611, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002527/0.2637, allocations: 1.656 MB / 398 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2656, allocations: 1.262 MB / 399.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.2656, allocations: 1.375 kB / 399.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.266, allocations: 41.47 kB / 399.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2661, allocations: 34.83 kB / 399.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000759/0.2668, allocations: 318.3 kB / 399.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.2671, allocations: 200.3 kB / 399.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.2672, allocations: 13.41 kB / 399.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2674, allocations: 91.95 kB / 400 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2676, allocations: 110.2 kB / 400.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2676, allocations: 12.78 kB / 400.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.2682, allocations: 332.4 kB / 400.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.2683, allocations: 52.47 kB / 400.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.2684, allocations: 77.98 kB / 400.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.2689, allocations: 332.4 kB / 400.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.2689, allocations: 1.891 kB / 400.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2689, allocations: 0 / 400.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2689, allocations: 0 / 400.9 MB, free: 6.352 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.001186/0.2701, allocations: 0.4894 MB / 401.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2701, allocations: 15.45 kB / 401.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.2702, allocations: 37.2 kB / 401.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.2704, allocations: 31.69 kB / 401.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.2708, allocations: 216.3 kB / 401.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2708, allocations: 4.797 kB / 401.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.2708, allocations: 14.31 kB / 401.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.271, allocations: 109.3 kB / 401.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2711, allocations: 0 / 401.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2711, allocations: 2.109 kB / 401.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2711, allocations: 1.5 kB / 401.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.2713, allocations: 82.25 kB / 401.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.2721, allocations: 423.3 kB / 402.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2723, allocations: 120.3 kB / 402.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.2724, allocations: 57.56 kB / 402.4 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2725, allocations: 5.156 kB / 402.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.2727, allocations: 113.3 kB / 402.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.674e-06/0.2727, allocations: 0 / 402.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004797/0.2731, allocations: 233 kB / 402.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2732, allocations: 66.83 kB / 402.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.2736, allocations: 246.4 kB / 403.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.2736, allocations: 36.5 kB / 403.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.2737, allocations: 114.9 kB / 403.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.2737, allocations: 41.69 kB / 403.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.2738, allocations: 45.67 kB / 403.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.2739, allocations: 335.1 kB / 403.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.274, allocations: 95.06 kB / 403.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.2742, allocations: 110 kB / 403.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.2745, allocations: 180.1 kB / 404 MB, free: 4.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2745, allocations: 1.188 kB / 404 MB, free: 4.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004561/0.2749, allocations: 258.5 kB / 404.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.275, allocations: 10.02 kB / 404.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.275, allocations: 1.25 kB / 404.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.275, allocations: 5.344 kB / 404.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2752, allocations: 28.66 kB / 404.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2752, allocations: 1.156 kB / 404.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.2754, allocations: 30.38 kB / 404.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2754, allocations: 5.875 kB / 404.4 MB, free: 4.102 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.0001211/0.2755, allocations: 148.8 kB / 404.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2756, allocations: 15 kB / 404.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.2756, allocations: 24.3 kB / 404.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2756, allocations: 5.188 kB / 404.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2756, allocations: 0.6094 kB / 404.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2756, allocations: 1.812 kB / 404.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2759, allocations: 206.7 kB / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2759, allocations: 0 / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.276, allocations: 22.98 kB / 404.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.276, allocations: 1.094 kB / 404.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.276, allocations: 7.422 kB / 404.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.276, allocations: 8.781 kB / 404.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.276, allocations: 1.188 kB / 404.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.2765, allocations: 277.8 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.2766, allocations: 27.28 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2766, allocations: 10.95 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2768, allocations: 27.86 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.2769, allocations: 14.92 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2769, allocations: 3.734 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.2772, allocations: 187.5 kB / 405.3 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2772, allocations: 1.406 kB / 405.3 MB, free: 3.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000518/0.2777, allocations: 90.45 kB / 405.4 MB, free: 3.43 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.001227/0.2789, allocations: 0.9767 MB / 406.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.2793, allocations: 166.2 kB / 406.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2793, allocations: 0 / 406.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2795, allocations: 59.66 kB / 406.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.2797, allocations: 21.05 kB / 406.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.2834, allocations: 2.382 MB / 409 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2837, allocations: 0.7307 MB / 409.7 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.2838, allocations: 35.11 kB / 409.8 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2839, allocations: 53.41 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2839, allocations: 1.5 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.3254, allocations: 5.465 MB / 415.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.19, allocations: 7.688 kB / 415.3 MB, free: 13.64 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 & 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: 17.766037659996073]