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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 113.2 kB / 17.73 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 188.2 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08983, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00287/0.09274, allocations: 1.641 MB / 376.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.09481, allocations: 1.225 MB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.09492, allocations: 4 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.09523, allocations: 27.78 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.09535, allocations: 43.77 kB / 377.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.09602, allocations: 287.1 kB / 377.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.09626, allocations: 183.5 kB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.09638, allocations: 29.05 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.09653, allocations: 79.67 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.09672, allocations: 99.64 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.09676, allocations: 12 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.09722, allocations: 291.5 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.09732, allocations: 51.88 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.09742, allocations: 67.53 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.09792, allocations: 338.8 kB / 379 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.09793, allocations: 4 kB / 379 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09794, allocations: 0 / 379 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.09795, allocations: 0 / 379 MB, free: 0.6797 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.001179/0.09913, allocations: 0.5644 MB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.09917, allocations: 12.03 kB / 379.6 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.09922, allocations: 38.69 kB / 379.6 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1537/0.253, allocations: 26.02 kB / 379.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.2535, allocations: 271.6 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2535, allocations: 6.062 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.2536, allocations: 9.531 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2538, allocations: 104.5 kB / 380 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2538, allocations: 7.25 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2538, allocations: 1.938 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2539, allocations: 1.375 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.254, allocations: 77.7 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.2548, allocations: 453.2 kB / 380.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.255, allocations: 122.3 kB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2551, allocations: 62.38 kB / 380.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2552, allocations: 4.781 kB / 380.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.2554, allocations: 116.6 kB / 380.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.2554, allocations: 0 / 380.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004604/0.2558, allocations: 236.3 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2559, allocations: 65.42 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.2563, allocations: 247 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2563, allocations: 36.84 kB / 381.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.2564, allocations: 118.7 kB / 381.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.2564, allocations: 42.95 kB / 381.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.2565, allocations: 49.69 kB / 381.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.2565, allocations: 335.8 kB / 382 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2567, allocations: 86.69 kB / 382 MB, free: 11.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2569, allocations: 113.9 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.2572, allocations: 178.6 kB / 382.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2572, allocations: 0 / 382.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005192/0.2577, allocations: 257.6 kB / 382.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2578, allocations: 5.812 kB / 382.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2578, allocations: 4.406 kB / 382.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2578, allocations: 3.938 kB / 382.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.258, allocations: 30.55 kB / 382.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.258, allocations: 5.469 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2582, allocations: 32.64 kB / 382.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2582, allocations: 5.484 kB / 382.7 MB, free: 11.59 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.0001107/0.2583, allocations: 143.9 kB / 382.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.2584, allocations: 15.38 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.2584, allocations: 20.09 kB / 382.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2585, allocations: 4.562 kB / 382.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2585, allocations: 8.219 kB / 382.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2585, allocations: 0.7031 kB / 382.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2587, allocations: 246.6 kB / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2587, allocations: 0.7969 kB / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2588, allocations: 20.28 kB / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2588, allocations: 1.094 kB / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2588, allocations: 3.422 kB / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2589, allocations: 0 / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2589, allocations: 5.953 kB / 383.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.2593, allocations: 278.3 kB / 383.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.2594, allocations: 115.2 kB / 383.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.2594, allocations: 5.531 kB / 383.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2596, allocations: 16.94 kB / 383.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.2596, allocations: 16 kB / 383.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2597, allocations: 4.016 kB / 383.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.2599, allocations: 192.6 kB / 383.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2599, allocations: 0 / 383.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000362/0.2603, allocations: 90.77 kB / 383.8 MB, free: 10.84 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.00104/0.2614, allocations: 0.9857 MB / 384.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.2617, allocations: 175.4 kB / 385 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2618, allocations: 0 / 385 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2619, allocations: 66.27 kB / 385.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.2621, allocations: 20.77 kB / 385.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.265, allocations: 2.38 MB / 387.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.2652, allocations: 0.7311 MB / 388.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.898e-05/0.2653, allocations: 38.39 kB / 388.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.2654, allocations: 49.3 kB / 388.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2654, allocations: 1.125 kB / 388.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.2941, allocations: 5.221 MB / 393.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.494, allocations: 5.031 kB / 393.5 MB, free: 6.902 MB / 318.1 MB (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 --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) 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) Reference file matches