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: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 110.6 kB / 17.73 MB, free: 5.328 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.001267/0.001267, allocations: 190.9 kB / 18.67 MB, free: 4.395 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.843/1.843, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001092/0.001092, allocations: 55.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 46.62 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003171/0.1275, allocations: 1.637 MB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1299, allocations: 1.225 MB / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.13, allocations: 0 / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.1304, allocations: 39.77 kB / 378 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1305, allocations: 35.72 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.1312, allocations: 295.2 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1315, allocations: 179.5 kB / 378.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1316, allocations: 21.06 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1318, allocations: 83.67 kB / 378.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1319, allocations: 99.64 kB / 378.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.132, allocations: 12 kB / 378.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.1324, allocations: 283.5 kB / 379 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.1325, allocations: 59.88 kB / 379.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.1326, allocations: 75.47 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.133, allocations: 339.2 kB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1331, allocations: 0 / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1331, allocations: 0 / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1331, allocations: 0 / 379.5 MB, free: 192 kB / 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.2933/0.4263, allocations: 0.5528 MB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4264, allocations: 14.11 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.4268, allocations: 27.02 kB / 380.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.4273, allocations: 276.2 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4273, allocations: 3.312 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.4274, allocations: 9.766 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.4276, allocations: 103.3 kB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.4277, allocations: 5.25 kB / 380.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4277, allocations: 3.188 kB / 380.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4277, allocations: 2.188 kB / 380.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.4279, allocations: 83.56 kB / 380.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.429, allocations: 450.9 kB / 381 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.4293, allocations: 122.3 kB / 381.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4295, allocations: 61.14 kB / 381.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4295, allocations: 1.375 kB / 381.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.4298, allocations: 117.6 kB / 381.3 MB, free: 9.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.4298, allocations: 1.25 kB / 381.3 MB, free: 9.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006008/0.4304, allocations: 225 kB / 381.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.4305, allocations: 69.38 kB / 381.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.4309, allocations: 250.8 kB / 381.8 MB, free: 9.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.431, allocations: 36.45 kB / 381.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.393e-05/0.431, allocations: 113.5 kB / 382 MB, free: 9.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.4311, allocations: 40.89 kB / 382 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.4312, allocations: 45.75 kB / 382.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4314, allocations: 337.8 kB / 382.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.4316, allocations: 87.81 kB / 382.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.4319, allocations: 112.5 kB / 382.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.4323, allocations: 177.6 kB / 382.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4323, allocations: 0.5625 kB / 382.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005955/0.4329, allocations: 264.5 kB / 383 MB, free: 8.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.433, allocations: 4.469 kB / 383 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.433, allocations: 5.344 kB / 383 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.433, allocations: 2.266 kB / 383 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.4332, allocations: 30.42 kB / 383.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4333, allocations: 6.062 kB / 383.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.4335, allocations: 28.91 kB / 383.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.4335, allocations: 5.938 kB / 383.1 MB, free: 8.691 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.0001788/0.4337, allocations: 145.3 kB / 383.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.4337, allocations: 19.48 kB / 383.3 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.4338, allocations: 23.98 kB / 383.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4338, allocations: 2.422 kB / 383.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.4339, allocations: 5.094 kB / 383.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.4339, allocations: 1.328 kB / 383.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.4342, allocations: 242.8 kB / 383.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4342, allocations: 0 / 383.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.4344, allocations: 19.25 kB / 383.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4344, allocations: 1.188 kB / 383.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.4344, allocations: 2.297 kB / 383.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4344, allocations: 5.188 kB / 383.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.4344, allocations: 8.688 kB / 383.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.435, allocations: 272 kB / 383.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.4351, allocations: 102.9 kB / 383.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.4351, allocations: 9.719 kB / 383.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4353, allocations: 17.48 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.4354, allocations: 17.84 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4354, allocations: 7.25 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.4357, allocations: 191.3 kB / 384.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4358, allocations: 0.7656 kB / 384.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000491/0.4362, allocations: 91.33 kB / 384.3 MB, free: 8.09 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.0006301/0.4369, allocations: 285.5 kB / 384.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.4373, allocations: 175.9 kB / 384.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4373, allocations: 0 / 384.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.4375, allocations: 66.53 kB / 384.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4377, allocations: 21.02 kB / 384.8 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.4385, allocations: 353.4 kB / 385.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.4387, allocations: 0.7327 MB / 385.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.4388, allocations: 31.78 kB / 385.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.4389, allocations: 18.16 kB / 385.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4389, allocations: 0 / 385.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of Templates: time 0.009864/0.4487, allocations: 3.15 MB / 389.1 MB, free: 6.793 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/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