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.001847/0.001847, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001787/0.001787, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.724/1.724, 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.002014/0.002014, allocations: 51.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00351/0.1199, allocations: 1.645 MB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1225, allocations: 1.225 MB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1228, allocations: 0 / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.1232, allocations: 39.77 kB / 378.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1235, allocations: 43.66 kB / 378.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1245, allocations: 287.2 kB / 378.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1248, allocations: 183.5 kB / 378.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.125, allocations: 17.06 kB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1252, allocations: 83.67 kB / 378.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1254, allocations: 99.64 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.1255, allocations: 16 kB / 378.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.126, allocations: 287.5 kB / 379 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1261, allocations: 51.88 kB / 379.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1262, allocations: 75.47 kB / 379.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.1269, allocations: 339.2 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.127, allocations: 0 / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.127, allocations: 0 / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.127, allocations: 0 / 379.5 MB, free: 208 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.2893/0.4163, allocations: 0.5549 MB / 380.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.4164, allocations: 14.62 kB / 380.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.4166, allocations: 26.67 kB / 380.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.4172, allocations: 272.8 kB / 380.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4172, allocations: 6 kB / 380.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.4172, allocations: 10.36 kB / 380.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.4175, allocations: 105 kB / 380.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4176, allocations: 4.359 kB / 380.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4176, allocations: 5.312 kB / 380.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4176, allocations: 4.969 kB / 380.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4178, allocations: 75.59 kB / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.4187, allocations: 448.7 kB / 381 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.419, allocations: 132.1 kB / 381.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4191, allocations: 57.23 kB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4192, allocations: 2.797 kB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.4194, allocations: 120.9 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.4194, allocations: 1.75 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004973/0.4199, allocations: 226.1 kB / 381.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.42, allocations: 60.17 kB / 381.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.4204, allocations: 247.3 kB / 381.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4204, allocations: 40.59 kB / 381.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.4205, allocations: 120.3 kB / 382 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.4206, allocations: 42.92 kB / 382 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.4207, allocations: 44.7 kB / 382.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.4207, allocations: 330.1 kB / 382.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.421, allocations: 86.55 kB / 382.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.4212, allocations: 113.2 kB / 382.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.4216, allocations: 185.9 kB / 382.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4216, allocations: 0.5312 kB / 382.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006071/0.4223, allocations: 250.9 kB / 383 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4223, allocations: 5.062 kB / 383 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4223, allocations: 5.094 kB / 383 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.4223, allocations: 2 kB / 383 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.4225, allocations: 32.05 kB / 383.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4226, allocations: 5.797 kB / 383.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4228, allocations: 35.23 kB / 383.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.4228, allocations: 12.33 kB / 383.1 MB, free: 11.58 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.0001325/0.4229, allocations: 141.3 kB / 383.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.423, allocations: 14.41 kB / 383.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.423, allocations: 24.72 kB / 383.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.423, allocations: 5.531 kB / 383.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4231, allocations: 4.031 kB / 383.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4231, allocations: 7.125 kB / 383.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.4233, allocations: 232.2 kB / 383.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4234, allocations: 3.406 kB / 383.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4235, allocations: 15.2 kB / 383.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4235, allocations: 1.094 kB / 383.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.4235, allocations: 6.797 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4235, allocations: 1.25 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4236, allocations: 4.5 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.4241, allocations: 281.3 kB / 383.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.4242, allocations: 110.2 kB / 384 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4243, allocations: 5.156 kB / 384 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.4244, allocations: 20.58 kB / 384 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.4245, allocations: 15.05 kB / 384 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4245, allocations: 3.531 kB / 384 MB, free: 10.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.4249, allocations: 187.2 kB / 384.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4249, allocations: 1.094 kB / 384.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000488/0.4254, allocations: 94.97 kB / 384.3 MB, free: 10.83 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.0007317/0.4261, allocations: 279.8 kB / 384.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.4265, allocations: 174.6 kB / 384.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4265, allocations: 0 / 384.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.4267, allocations: 68.75 kB / 384.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4269, allocations: 16.89 kB / 384.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.4276, allocations: 359.7 kB / 385.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.4278, allocations: 0.7269 MB / 385.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.428, allocations: 38.92 kB / 385.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.428, allocations: 19.27 kB / 385.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.428, allocations: 0 / 385.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of Templates: time 0.007908/0.4359, allocations: 3.159 MB / 389.1 MB, free: 9.402 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