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.001364/0.001364, allocations: 107.6 kB / 21.18 MB, free: 0.6055 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.001472/0.001472, allocations: 208.2 kB / 24.47 MB, free: 3.926 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.395/1.395, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.002548/0.002548, allocations: 51.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3255, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004817/0.3303, allocations: 1.63 MB / 398 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.333, allocations: 1.167 MB / 399.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.3331, allocations: 6.312 kB / 399.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.3336, allocations: 30.59 kB / 399.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3337, allocations: 44.92 kB / 399.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3348, allocations: 306 kB / 399.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.3352, allocations: 202.7 kB / 399.7 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3353, allocations: 16.88 kB / 399.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.3355, allocations: 90.84 kB / 399.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.3358, allocations: 99.31 kB / 399.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.3358, allocations: 13.25 kB / 399.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.3366, allocations: 322.2 kB / 400.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3367, allocations: 54.8 kB / 400.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3368, allocations: 53.06 kB / 400.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008336/0.3377, allocations: 337.7 kB / 400.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3377, allocations: 0 / 400.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3377, allocations: 0 / 400.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3377, allocations: 4.688 kB / 400.7 MB, free: 6.445 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.001371/0.339, allocations: 0.494 MB / 401.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3391, allocations: 13.95 kB / 401.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.3391, allocations: 39.53 kB / 401.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.3394, allocations: 27.09 kB / 401.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.3398, allocations: 214.9 kB / 401.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3399, allocations: 8.656 kB / 401.5 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.3399, allocations: 10.39 kB / 401.5 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3401, allocations: 107.6 kB / 401.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3401, allocations: 1.156 kB / 401.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3401, allocations: 0 / 401.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3402, allocations: 1.703 kB / 401.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3403, allocations: 79.17 kB / 401.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.3412, allocations: 407 kB / 402.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3414, allocations: 116.6 kB / 402.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.3415, allocations: 52.48 kB / 402.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3415, allocations: 1.406 kB / 402.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.3417, allocations: 120.2 kB / 402.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.3417, allocations: 4 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005111/0.3422, allocations: 237.1 kB / 402.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3423, allocations: 58.36 kB / 402.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3427, allocations: 255.2 kB / 402.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3427, allocations: 35.98 kB / 402.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3428, allocations: 117.5 kB / 403 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.3428, allocations: 45.45 kB / 403.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.3429, allocations: 49.28 kB / 403.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.3429, allocations: 338.5 kB / 403.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3431, allocations: 86.2 kB / 403.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3433, allocations: 100.2 kB / 403.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.3435, allocations: 183.1 kB / 403.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3435, allocations: 0 / 403.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004355/0.344, allocations: 259.1 kB / 404.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.344, allocations: 6.484 kB / 404.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.344, allocations: 4.031 kB / 404.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.344, allocations: 6.125 kB / 404.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3442, allocations: 32.7 kB / 404.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3442, allocations: 1.156 kB / 404.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.3444, allocations: 30.05 kB / 404.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.3444, allocations: 6.453 kB / 404.2 MB, free: 4.199 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.0001189/0.3446, allocations: 141.3 kB / 404.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.3446, allocations: 15.66 kB / 404.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.3446, allocations: 22.56 kB / 404.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3446, allocations: 9.844 kB / 404.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3446, allocations: 5.438 kB / 404.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.3447, allocations: 0.5625 kB / 404.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.3449, allocations: 196.8 kB / 404.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3449, allocations: 1.5 kB / 404.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.345, allocations: 14.5 kB / 404.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.345, allocations: 2.078 kB / 404.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.345, allocations: 1.953 kB / 404.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.345, allocations: 4.734 kB / 404.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.345, allocations: 5.406 kB / 404.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.3455, allocations: 282.9 kB / 404.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.3456, allocations: 27.66 kB / 404.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.3456, allocations: 9.312 kB / 404.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3458, allocations: 20.06 kB / 404.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.3459, allocations: 17.58 kB / 404.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3459, allocations: 1.859 kB / 404.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003232/0.3462, allocations: 188.4 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3462, allocations: 1.312 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.3467, allocations: 90.48 kB / 405.2 MB, free: 3.539 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.3481, allocations: 0.994 MB / 406.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.3484, allocations: 171.4 kB / 406.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3484, allocations: 0 / 406.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3486, allocations: 66.73 kB / 406.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3488, allocations: 21.33 kB / 406.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.3519, allocations: 2.37 MB / 408.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.352, allocations: 114.7 kB / 408.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.3521, allocations: 32.52 kB / 409 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.3522, allocations: 48.02 kB / 409 MB, free: 1.035 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3522, allocations: 1.312 kB / 409 MB, free: 1.035 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.3918, allocations: 5.925 MB / 414.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.09, allocations: 17.08 kB / 415 MB, free: 13.89 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.860215252265334]