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.001148/0.001148, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.00135/0.00135, allocations: 165.5 kB / 25.33 MB, free: 8.594 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.9861/0.9861, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.873e-06/1.873e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.779e-05, allocations: 6.25 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002013/0.00203, allocations: 1.677 MB / 252.7 MB, free: 5.812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.003596, allocations: 1.201 MB / 253.9 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.003671, allocations: 4 kB / 253.9 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.004072, allocations: 35.72 kB / 254 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.004173, allocations: 39.7 kB / 254 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.004713, allocations: 334.8 kB / 254.3 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004874, allocations: 147.6 kB / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.004963, allocations: 13.3 kB / 254.5 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.005082, allocations: 91.78 kB / 254.6 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.005199, allocations: 83.75 kB / 254.7 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.005225, allocations: 12 kB / 254.7 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.005571, allocations: 327.2 kB / 255 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.005636, allocations: 47.81 kB / 255 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.005691, allocations: 47.84 kB / 255.1 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.00605, allocations: 342.9 kB / 255.4 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006053, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006054, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006059, allocations: 0 / 255.4 MB, free: 3.094 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.0007162/0.006775, allocations: 0.5655 MB / 256 MB, free: 2.492 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.006812, allocations: 15.98 kB / 256 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.006968, allocations: 32.83 kB / 256 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.007215, allocations: 213.9 kB / 256.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.007232, allocations: 8.375 kB / 256.3 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.007254, allocations: 4.375 kB / 256.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.007384, allocations: 70.2 kB / 256.3 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.007395, allocations: 192 / 256.3 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.007406, allocations: 384 / 256.3 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007415, allocations: 7.875 kB / 256.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.007479, allocations: 31.97 kB / 256.4 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.007982, allocations: 395.6 kB / 256.8 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.008109, allocations: 70.97 kB / 256.8 MB, free: 1.57 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.008149, allocations: 19.69 kB / 256.8 MB, free: 1.547 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.008157, allocations: 0 / 256.8 MB, free: 1.547 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.008271, allocations: 96.58 kB / 256.9 MB, free: 1.441 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.008273, allocations: 0 / 256.9 MB, free: 1.441 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002455/0.008519, allocations: 149.6 kB / 257.1 MB, free: 1.289 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.008555, allocations: 59.39 kB / 257.1 MB, free: 1.219 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.008716, allocations: 266.8 kB / 257.4 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.008735, allocations: 33.7 kB / 257.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.008807, allocations: 166.8 kB / 257.6 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.008841, allocations: 43.77 kB / 257.6 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.008897, allocations: 51.36 kB / 257.7 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.009025, allocations: 0.5079 MB / 258.2 MB, free: 116 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.009078, allocations: 27.84 kB / 258.2 MB, free: 88 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.009147, allocations: 59.28 kB / 258.3 MB, free: 20 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.00927, allocations: 95.41 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.009274, allocations: 3.938 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000185/0.009459, allocations: 153.4 kB / 258.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.009476, allocations: 11.98 kB / 258.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.009484, allocations: 4 kB / 258.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.009497, allocations: 0 / 258.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.009619, allocations: 39.98 kB / 258.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.009625, allocations: 0 / 258.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.009691, allocations: 19.92 kB / 258.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.009705, allocations: 12.03 kB / 258.6 MB, free: 15.67 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 9.322e-05/0.009798, allocations: 180.4 kB / 258.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.009819, allocations: 15.91 kB / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.009854, allocations: 21.47 kB / 258.8 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009857, allocations: 4 kB / 258.8 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.009861, allocations: 0 / 258.8 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009864, allocations: 7.812 kB / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.009988, allocations: 164.5 kB / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009989, allocations: 0 / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.01005, allocations: 19.98 kB / 259 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01005, allocations: 0 / 259 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01007, allocations: 11.94 kB / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01007, allocations: 0 / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01007, allocations: 0 / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.01029, allocations: 179.9 kB / 259.2 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.01034, allocations: 35.77 kB / 259.2 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.01036, allocations: 11.98 kB / 259.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.01042, allocations: 11.98 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01046, allocations: 3.984 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01046, allocations: 11.97 kB / 259.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01057, allocations: 189.4 kB / 259.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01057, allocations: 0 / 259.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.01081, allocations: 91.78 kB / 259.6 MB, free: 14.66 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.0005562/0.01136, allocations: 298.5 kB / 259.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.01156, allocations: 91.52 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01156, allocations: 0 / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.01162, allocations: 43.61 kB / 260 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.01179, allocations: 31.97 kB / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.01225, allocations: 314 kB / 260.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.0123, allocations: 75.81 kB / 260.4 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.01235, allocations: 29.45 kB / 260.4 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.01239, allocations: 16.5 kB / 260.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01239, allocations: 0 / 260.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of Templates: time 0.006191/0.01858, allocations: 3.701 MB / 264.1 MB, free: 10.06 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.413585551083088]