Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.705e-05, allocations: 9.766 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00305/0.003087, allocations: 1.635 MB / 269 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.005575, allocations: 1.177 MB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.00565, allocations: 0 / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.005994, allocations: 39.7 kB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.006127, allocations: 43.66 kB / 270.2 MB, free: 3.828 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.007023, allocations: 314.9 kB / 270.5 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.00727, allocations: 151.5 kB / 270.7 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.007378, allocations: 21.25 kB / 270.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.007565, allocations: 95.7 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.008181, allocations: 101.6 kB / 270.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.008222, allocations: 15.94 kB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000574/0.008796, allocations: 303.4 kB / 271.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.008904, allocations: 59.8 kB / 271.3 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.008982, allocations: 35.91 kB / 271.3 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.00962, allocations: 374.8 kB / 271.7 MB, free: 2.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.009624, allocations: 0 / 271.7 MB, free: 2.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009625, allocations: 0 / 271.7 MB, free: 2.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.009631, allocations: 0 / 271.7 MB, free: 2.391 MB / 250.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.001182/0.01081, allocations: 0.573 MB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01085, allocations: 12.03 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.01109, allocations: 32.78 kB / 272.3 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.01151, allocations: 197.2 kB / 272.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.01153, allocations: 8.375 kB / 272.5 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.01156, allocations: 11.94 kB / 272.5 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.01175, allocations: 77.59 kB / 272.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01177, allocations: 0 / 272.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.01178, allocations: 0 / 272.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.01178, allocations: 4 kB / 272.6 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.01194, allocations: 43.95 kB / 272.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.01286, allocations: 423.5 kB / 273 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.0131, allocations: 86.97 kB / 273.1 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.0132, allocations: 35.67 kB / 273.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.01322, allocations: 4 kB / 273.1 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.01342, allocations: 93.03 kB / 273.2 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.01342, allocations: 0 / 273.2 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004679/0.01389, allocations: 165.7 kB / 273.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.01395, allocations: 55.41 kB / 273.5 MB, free: 448 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.01436, allocations: 294.8 kB / 273.7 MB, free: 136 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.0144, allocations: 41.69 kB / 273.8 MB, free: 88 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.01456, allocations: 174.9 kB / 274 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.01462, allocations: 47.64 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.01476, allocations: 63.34 kB / 274.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003009/0.01506, allocations: 0.5157 MB / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.01519, allocations: 39.92 kB / 274.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01535, allocations: 79.25 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.0156, allocations: 111.5 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0156, allocations: 0 / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004543/0.01606, allocations: 181.4 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01607, allocations: 4 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.01608, allocations: 7.984 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.0161, allocations: 3.938 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.0163, allocations: 35.92 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01631, allocations: 4 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01646, allocations: 27.77 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01648, allocations: 8 kB / 275.1 MB, free: 14.75 MB / 266.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.0001649/0.01665, allocations: 180.3 kB / 275.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.01669, allocations: 19.91 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.01675, allocations: 17.47 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.01675, allocations: 7.938 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01675, allocations: 0 / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.01676, allocations: 3.984 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01702, allocations: 176.5 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01702, allocations: 0 / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.01715, allocations: 23.92 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01715, allocations: 0 / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.01717, allocations: 4 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01717, allocations: 4 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01718, allocations: 3.938 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.01764, allocations: 212.2 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.01773, allocations: 31.83 kB / 275.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.01776, allocations: 7.984 kB / 275.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01789, allocations: 8 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.01796, allocations: 11.92 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01797, allocations: 7.984 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002823/0.01826, allocations: 217.4 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01826, allocations: 0 / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.01862, allocations: 87.8 kB / 276.1 MB, free: 13.68 MB / 266.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.0008366/0.01946, allocations: 276.8 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.0198, allocations: 119.6 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0198, allocations: 0 / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.01995, allocations: 55.59 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.02021, allocations: 28.06 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.02106, allocations: 327 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.02119, allocations: 111.4 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.02128, allocations: 33.44 kB / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.02135, allocations: 24.44 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.02135, allocations: 0 / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Templates: time 0.008687/0.03004, allocations: 3.194 MB / 280.2 MB, free: 9.527 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.390996128087863]