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.001418/0.001418, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001618/0.001618, allocations: 183 kB / 18.66 MB, free: 4.387 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.363/1.363, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001387/0.001388, allocations: 56.39 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09055, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003098/0.09369, allocations: 1.645 MB / 376.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.09583, allocations: 1.217 MB / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.09603, allocations: 7.938 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.09645, allocations: 39.77 kB / 377.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.09665, allocations: 39.77 kB / 377.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.09766, allocations: 291.1 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.09802, allocations: 179.5 kB / 378.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.09816, allocations: 25 kB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.0984, allocations: 83.67 kB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.09866, allocations: 103.6 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.09871, allocations: 12 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.09927, allocations: 283.5 kB / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.0994, allocations: 51.88 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.09951, allocations: 79.52 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.1002, allocations: 331.2 kB / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1002, allocations: 0 / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1002, allocations: 0 / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1002, allocations: 4 kB / 379 MB, free: 0.6875 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.001412/0.1016, allocations: 0.5532 MB / 379.6 MB, free: 88 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1017, allocations: 8.031 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.1017, allocations: 46.67 kB / 379.6 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1609/0.2626, allocations: 28.62 kB / 379.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.2632, allocations: 265.8 kB / 379.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2633, allocations: 8.578 kB / 379.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.2633, allocations: 8.75 kB / 379.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.2635, allocations: 102.5 kB / 380 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2636, allocations: 0 / 380 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2636, allocations: 6.438 kB / 380 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2636, allocations: 0 / 380 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.2638, allocations: 82.8 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.2646, allocations: 454.8 kB / 380.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.2648, allocations: 123.7 kB / 380.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2649, allocations: 61.25 kB / 380.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.265, allocations: 1.562 kB / 380.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2652, allocations: 116.5 kB / 380.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.2652, allocations: 0 / 380.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004633/0.2656, allocations: 229.1 kB / 381.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2657, allocations: 62.19 kB / 381.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.2661, allocations: 252 kB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2661, allocations: 37.34 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.2662, allocations: 113.6 kB / 381.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.2662, allocations: 44.19 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.2663, allocations: 47.11 kB / 381.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.2664, allocations: 334.2 kB / 381.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2665, allocations: 88.12 kB / 382 MB, free: 11.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2667, allocations: 109 kB / 382.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.267, allocations: 182.6 kB / 382.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.267, allocations: 0.75 kB / 382.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004974/0.2675, allocations: 255.9 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2675, allocations: 6.141 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2676, allocations: 2.281 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2676, allocations: 1.562 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2678, allocations: 36.8 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2678, allocations: 2.266 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.268, allocations: 41.25 kB / 382.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.268, allocations: 5.562 kB / 382.7 MB, free: 11.64 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.0001057/0.2681, allocations: 137.2 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2682, allocations: 16.66 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.2682, allocations: 31.47 kB / 382.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2682, allocations: 1.844 kB / 382.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2682, allocations: 1.188 kB / 382.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2682, allocations: 5.016 kB / 382.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2684, allocations: 241.2 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2685, allocations: 3.156 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.2686, allocations: 15.41 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2686, allocations: 0.7188 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.2686, allocations: 7.203 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2686, allocations: 1.828 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2686, allocations: 3.469 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.2691, allocations: 281.5 kB / 383.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.2692, allocations: 103.9 kB / 383.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2692, allocations: 5.547 kB / 383.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2694, allocations: 24.42 kB / 383.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.2694, allocations: 11.66 kB / 383.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2694, allocations: 3.312 kB / 383.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.2697, allocations: 192 kB / 383.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2697, allocations: 0.9688 kB / 383.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.2701, allocations: 85.55 kB / 383.8 MB, free: 10.9 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.00105/0.2712, allocations: 0.9938 MB / 384.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.2715, allocations: 167.8 kB / 385 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2715, allocations: 0 / 385 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.2717, allocations: 73.61 kB / 385 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2719, allocations: 17.78 kB / 385 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.2749, allocations: 2.383 MB / 387.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2751, allocations: 0.7312 MB / 388.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.2752, allocations: 38.17 kB / 388.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.2753, allocations: 48.5 kB / 388.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2753, allocations: 0 / 388.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.3089, allocations: 5.294 MB / 393.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.693, allocations: 5.375 kB / 393.5 MB, free: 6.949 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