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.001349/0.001349, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001624/0.001624, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.419/1.419, allocations: 207.7 MB / 235.3 MB, free: 9.789 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.001788/0.001788, allocations: 59.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3175, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002649/0.3201, allocations: 1.627 MB / 398 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3221, allocations: 1.163 MB / 399.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.3221, allocations: 1.094 kB / 399.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3225, allocations: 34.52 kB / 399.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3226, allocations: 47.58 kB / 399.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.3233, allocations: 305.6 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3236, allocations: 196.7 kB / 399.7 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.3237, allocations: 17.16 kB / 399.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3238, allocations: 90.83 kB / 399.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.324, allocations: 107.2 kB / 399.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.3241, allocations: 16.81 kB / 399.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.3246, allocations: 316 kB / 400.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.3247, allocations: 56.72 kB / 400.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.3248, allocations: 57.88 kB / 400.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.3253, allocations: 337 kB / 400.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3253, allocations: 1.984 kB / 400.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3253, allocations: 0 / 400.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3253, allocations: 0 / 400.7 MB, free: 6.438 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.00108/0.3264, allocations: 0.4906 MB / 401.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3264, allocations: 16.58 kB / 401.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.3265, allocations: 39.97 kB / 401.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.3267, allocations: 27.39 kB / 401.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.3271, allocations: 213.7 kB / 401.5 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3271, allocations: 15.72 kB / 401.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.3271, allocations: 10.22 kB / 401.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3273, allocations: 106.8 kB / 401.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3274, allocations: 1.094 kB / 401.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3274, allocations: 4 kB / 401.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3274, allocations: 2.344 kB / 401.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.3276, allocations: 75.64 kB / 401.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.3283, allocations: 395.3 kB / 402.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.3286, allocations: 118.6 kB / 402.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3287, allocations: 56.03 kB / 402.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3287, allocations: 1.219 kB / 402.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3289, allocations: 116.3 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3289, allocations: 13.09 kB / 402.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004753/0.3294, allocations: 237.6 kB / 402.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3294, allocations: 56.81 kB / 402.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.3298, allocations: 244.6 kB / 402.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3298, allocations: 38 kB / 402.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3298, allocations: 119.5 kB / 403 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.3299, allocations: 42.16 kB / 403.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.33, allocations: 52.45 kB / 403.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.33, allocations: 333.8 kB / 403.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3302, allocations: 87.92 kB / 403.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3304, allocations: 110 kB / 403.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.3307, allocations: 182.3 kB / 403.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3307, allocations: 0 / 403.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004633/0.3312, allocations: 260.4 kB / 404.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3312, allocations: 5.969 kB / 404.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3312, allocations: 4 kB / 404.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3312, allocations: 6.062 kB / 404.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3314, allocations: 28.52 kB / 404.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3314, allocations: 1.125 kB / 404.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3316, allocations: 34.78 kB / 404.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.3316, allocations: 5.359 kB / 404.2 MB, free: 4.188 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.3317, allocations: 137.5 kB / 404.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3318, allocations: 18.38 kB / 404.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.3318, allocations: 21.89 kB / 404.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3318, allocations: 5.375 kB / 404.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3318, allocations: 3.938 kB / 404.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3318, allocations: 0.6562 kB / 404.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.332, allocations: 197.6 kB / 404.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.332, allocations: 0.8906 kB / 404.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3322, allocations: 24.03 kB / 404.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3322, allocations: 0 / 404.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3322, allocations: 2.078 kB / 404.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3322, allocations: 5.984 kB / 404.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3322, allocations: 4 kB / 404.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.3327, allocations: 283.5 kB / 404.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.3328, allocations: 31.56 kB / 404.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3328, allocations: 4.641 kB / 404.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.333, allocations: 20.89 kB / 404.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.333, allocations: 16.27 kB / 404.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.333, allocations: 4.422 kB / 404.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.3333, allocations: 187.7 kB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3333, allocations: 0 / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.3338, allocations: 90.69 kB / 405.2 MB, free: 3.527 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.001357/0.3352, allocations: 0.9905 MB / 406.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.3356, allocations: 166.8 kB / 406.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3356, allocations: 0 / 406.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3358, allocations: 59.59 kB / 406.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.336, allocations: 24.77 kB / 406.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.3395, allocations: 2.371 MB / 408.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3396, allocations: 115.1 kB / 408.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.3397, allocations: 40.11 kB / 409 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3398, allocations: 49.12 kB / 409 MB, free: 1.027 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3398, allocations: 0 / 409 MB, free: 1.027 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.3801, allocations: 5.921 MB / 414.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.21, allocations: 21.52 kB / 415 MB, free: 13.87 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.970349858049303]