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.0009789/0.0009789, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.001045/0.001045, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 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 0.9166/0.9166, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.767e-05, allocations: 2.312 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.007943/0.007971, allocations: 1.677 MB / 252.8 MB, free: 6.113 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01294, allocations: 1.193 MB / 254 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.01305, allocations: 4 kB / 254 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.0134, allocations: 35.7 kB / 254 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.01352, allocations: 43.72 kB / 254.1 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.01433, allocations: 326.8 kB / 254.4 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.01454, allocations: 147.6 kB / 254.5 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.01464, allocations: 17.3 kB / 254.5 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.01481, allocations: 87.78 kB / 254.6 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.01496, allocations: 83.75 kB / 254.7 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.01499, allocations: 12 kB / 254.7 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.01857, allocations: 331.2 kB / 255 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.01867, allocations: 51.81 kB / 255.1 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.01874, allocations: 47.83 kB / 255.1 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.01928, allocations: 346.9 kB / 255.5 MB, free: 3.402 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01929, allocations: 4 kB / 255.5 MB, free: 3.398 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01929, allocations: 0 / 255.5 MB, free: 3.398 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.01929, allocations: 0 / 255.5 MB, free: 3.398 MB / 234.7 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.0009101/0.0202, allocations: 0.5617 MB / 256 MB, free: 2.801 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.02024, allocations: 15.98 kB / 256.1 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.02046, allocations: 32.78 kB / 256.1 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.02078, allocations: 206 kB / 256.3 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.0208, allocations: 12.36 kB / 256.3 MB, free: 2.508 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.02082, allocations: 4.375 kB / 256.3 MB, free: 2.504 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.02098, allocations: 74.09 kB / 256.4 MB, free: 2.426 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.02099, allocations: 4.188 kB / 256.4 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003019/0.02401, allocations: 384 / 256.4 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.02402, allocations: 7.938 kB / 256.4 MB, free: 2.414 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.882e-05/0.02412, allocations: 27.97 kB / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.02486, allocations: 391.6 kB / 256.8 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.02503, allocations: 70.97 kB / 256.9 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.02509, allocations: 31.67 kB / 256.9 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.0251, allocations: 4 kB / 256.9 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.02525, allocations: 84.59 kB / 257 MB, free: 1.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.02525, allocations: 96 / 257 MB, free: 1.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003143/0.02556, allocations: 145.6 kB / 257.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.0256, allocations: 63.41 kB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.02582, allocations: 262.7 kB / 257.5 MB, free: 1.254 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.02586, allocations: 41.69 kB / 257.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.02595, allocations: 162.8 kB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.02599, allocations: 43.78 kB / 257.7 MB, free: 1 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.02607, allocations: 59.34 kB / 257.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.02621, allocations: 0.504 MB / 258.3 MB, free: 428 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.0263, allocations: 35.83 kB / 258.3 MB, free: 392 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.0264, allocations: 63.28 kB / 258.4 MB, free: 320 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.02655, allocations: 83.36 kB / 258.4 MB, free: 228 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.02656, allocations: 3.938 kB / 258.4 MB, free: 224 kB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.003391/0.02995, allocations: 157.4 kB / 258.6 MB, free: 60 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.02997, allocations: 4 kB / 258.6 MB, free: 56 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02997, allocations: 0 / 258.6 MB, free: 56 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.02999, allocations: 8.031 kB / 258.6 MB, free: 48 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.03018, allocations: 43.91 kB / 258.6 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.03018, allocations: 0 / 258.6 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.03031, allocations: 24.11 kB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.03033, allocations: 4 kB / 258.7 MB, free: 15.97 MB / 250.7 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.0001065/0.03043, allocations: 172.3 kB / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.03047, allocations: 19.91 kB / 258.9 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.03051, allocations: 21.45 kB / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.03052, allocations: 0 / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.03052, allocations: 4 kB / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.03052, allocations: 0 / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.0307, allocations: 180.4 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0307, allocations: 3.938 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.0308, allocations: 15.98 kB / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.0308, allocations: 0 / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.03082, allocations: 3.984 kB / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.03082, allocations: 0 / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03082, allocations: 7.984 kB / 259.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.03113, allocations: 184.2 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.03119, allocations: 31.88 kB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.03122, allocations: 7.984 kB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.03132, allocations: 7.984 kB / 259.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.03137, allocations: 11.98 kB / 259.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.03138, allocations: 4 kB / 259.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.03152, allocations: 181.4 kB / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03152, allocations: 0 / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.03193, allocations: 95.73 kB / 259.6 MB, free: 14.97 MB / 250.7 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.0007014/0.03263, allocations: 302 kB / 259.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.03288, allocations: 103.5 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03289, allocations: 0 / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.03296, allocations: 35.61 kB / 260 MB, free: 14.55 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.03321, allocations: 27.97 kB / 260.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.03382, allocations: 314 kB / 260.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.03388, allocations: 87.75 kB / 260.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.533e-05/0.03396, allocations: 37.45 kB / 260.5 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.03402, allocations: 16.5 kB / 260.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03402, allocations: 0 / 260.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of Templates: time 0.00734/0.04136, allocations: 3.359 MB / 263.9 MB, free: 10.69 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.347532578976825]