Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001497/0.001497, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001552/0.001552, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.848e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003428/0.003456, allocations: 1.644 MB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.006212, allocations: 1.189 MB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.006353, allocations: 0 / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.006717, allocations: 27.73 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.006899, allocations: 51.75 kB / 275.2 MB, free: 14.86 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001091/0.007989, allocations: 322.7 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.008285, allocations: 147.6 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.008387, allocations: 9.297 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.008676, allocations: 99.7 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.009353, allocations: 98.45 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.009419, allocations: 16 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.01004, allocations: 311.3 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.01016, allocations: 51.83 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.01027, allocations: 47.83 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.01103, allocations: 370.9 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01104, allocations: 0 / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01104, allocations: 0 / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.01104, allocations: 0 / 276.7 MB, free: 13.43 MB / 266.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.001408/0.01245, allocations: 0.4891 MB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.01249, allocations: 8.031 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.01276, allocations: 36.78 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.0133, allocations: 210.4 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.01333, allocations: 12.38 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.01338, allocations: 12.31 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.01365, allocations: 102.2 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.01366, allocations: 7.875 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.01368, allocations: 0 / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.01368, allocations: 4 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.01389, allocations: 75.94 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.01483, allocations: 368.3 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.01514, allocations: 122.4 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.01527, allocations: 56.83 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.01529, allocations: 0 / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.01554, allocations: 123.4 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.01554, allocations: 0 / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006079/0.01615, allocations: 241.6 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.01621, allocations: 55.41 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.01667, allocations: 240.9 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.01673, allocations: 41.69 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01684, allocations: 120.1 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.0169, allocations: 51.62 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01701, allocations: 41.7 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.0172, allocations: 334.8 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.0174, allocations: 79.95 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.0176, allocations: 109.7 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.01794, allocations: 182.4 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01794, allocations: 0 / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005207/0.01846, allocations: 269.3 kB / 280 MB, free: 9.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01848, allocations: 11.94 kB / 280 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01849, allocations: 0 / 280 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01851, allocations: 0 / 280 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.01871, allocations: 35.95 kB / 280.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01872, allocations: 4 kB / 280.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.01895, allocations: 35.8 kB / 280.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.01897, allocations: 4 kB / 280.1 MB, free: 9.816 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.000157/0.01912, allocations: 133.8 kB / 280.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.01917, allocations: 19.91 kB / 280.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.01922, allocations: 21.45 kB / 280.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.01923, allocations: 11.92 kB / 280.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01924, allocations: 4 kB / 280.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01924, allocations: 3.938 kB / 280.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.01949, allocations: 169.2 kB / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01949, allocations: 0 / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.01962, allocations: 15.98 kB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01962, allocations: 0 / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.01964, allocations: 4 kB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01965, allocations: 0 / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01965, allocations: 0 / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.02022, allocations: 288.8 kB / 280.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.02031, allocations: 35.88 kB / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.02034, allocations: 4 kB / 280.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.02053, allocations: 23.97 kB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.02059, allocations: 7.984 kB / 280.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.0206, allocations: 0 / 280.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003768/0.02098, allocations: 196.4 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02098, allocations: 0 / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.02139, allocations: 87.73 kB / 281.1 MB, free: 8.754 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.0008026/0.02219, allocations: 287.6 kB / 281.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.02258, allocations: 163.8 kB / 281.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02259, allocations: 0 / 281.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.02274, allocations: 63.91 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.02302, allocations: 19.98 kB / 281.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.02383, allocations: 349.3 kB / 282 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.02399, allocations: 123.4 kB / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.02411, allocations: 37.44 kB / 282.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.02418, allocations: 24.48 kB / 282.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02418, allocations: 0 / 282.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of Templates: time 0.008782/0.03296, allocations: 3.231 MB / 285.4 MB, free: 4.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.070723721990362]