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.002204/0.002204, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.001881/0.001881, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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 1.522/1.522, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.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=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.909e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002763/0.002792, allocations: 1.625 MB / 300.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.004968, allocations: 1.162 MB / 301.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.005049, allocations: 0 / 301.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.005393, allocations: 43.64 kB / 301.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.005514, allocations: 31.78 kB / 301.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.00634, allocations: 334.8 kB / 302.1 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.006551, allocations: 143.6 kB / 302.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.006646, allocations: 21.25 kB / 302.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.006819, allocations: 91.72 kB / 302.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.006983, allocations: 87.69 kB / 302.5 MB, free: 5.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.007021, allocations: 12 kB / 302.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.007554, allocations: 327.2 kB / 302.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.007649, allocations: 51.83 kB / 302.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.007725, allocations: 43.83 kB / 302.9 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.008255, allocations: 387 kB / 303.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008259, allocations: 0 / 303.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.00826, allocations: 3.938 kB / 303.3 MB, free: 4.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.008265, allocations: 0 / 303.3 MB, free: 4.352 MB / 286.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.001208/0.009472, allocations: 0.4929 MB / 303.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.009509, allocations: 11.98 kB / 303.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.009726, allocations: 28.83 kB / 303.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.01019, allocations: 214.3 kB / 304 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.01021, allocations: 4.375 kB / 304 MB, free: 3.547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.01024, allocations: 8.375 kB / 304 MB, free: 3.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.01046, allocations: 110.1 kB / 304.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01047, allocations: 4.172 kB / 304.2 MB, free: 3.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.01049, allocations: 4.375 kB / 304.2 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.01049, allocations: 3.938 kB / 304.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.01069, allocations: 75.94 kB / 304.2 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.01153, allocations: 368.3 kB / 304.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.01181, allocations: 118.5 kB / 304.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01193, allocations: 52.83 kB / 304.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.01194, allocations: 4 kB / 304.8 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.01217, allocations: 123.4 kB / 304.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.01218, allocations: 0 / 304.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005091/0.01268, allocations: 233.5 kB / 305.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.01275, allocations: 63.39 kB / 305.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.01316, allocations: 251.8 kB / 305.4 MB, free: 2.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.0132, allocations: 37.7 kB / 305.5 MB, free: 2.027 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.01329, allocations: 116.1 kB / 305.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.01334, allocations: 43.77 kB / 305.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.01342, allocations: 45.7 kB / 305.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01356, allocations: 330.8 kB / 306 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.01373, allocations: 83.95 kB / 306.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.01391, allocations: 105.8 kB / 306.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.01421, allocations: 185.5 kB / 306.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01422, allocations: 7.938 kB / 306.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004502/0.01467, allocations: 269.5 kB / 306.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01469, allocations: 4 kB / 306.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.0147, allocations: 0 / 306.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.01472, allocations: 4 kB / 306.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.0149, allocations: 23.98 kB / 306.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.01491, allocations: 4 kB / 306.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.01511, allocations: 31.86 kB / 306.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01513, allocations: 8.031 kB / 306.7 MB, free: 0.7539 MB / 286.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.0001667/0.01529, allocations: 141.7 kB / 306.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.01532, allocations: 11.91 kB / 306.8 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.01538, allocations: 29.45 kB / 306.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01539, allocations: 0 / 306.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.01539, allocations: 0 / 306.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0154, allocations: 0 / 306.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.01562, allocations: 177.1 kB / 307 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01562, allocations: 0 / 307 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01574, allocations: 19.98 kB / 307.1 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.01575, allocations: 4 kB / 307.1 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01576, allocations: 0 / 307.1 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01576, allocations: 0 / 307.1 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01577, allocations: 0 / 307.1 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.01627, allocations: 289 kB / 307.4 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.01634, allocations: 31.88 kB / 307.4 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.01638, allocations: 11.98 kB / 307.4 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.01657, allocations: 11.98 kB / 307.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.01662, allocations: 20.03 kB / 307.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.01663, allocations: 7.984 kB / 307.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003234/0.01696, allocations: 181.5 kB / 307.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01696, allocations: 0 / 307.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.01735, allocations: 91.8 kB / 307.7 MB, free: 15.7 MB / 302.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.0007569/0.0181, allocations: 303.7 kB / 308 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.01848, allocations: 163.8 kB / 308.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01848, allocations: 4.062 kB / 308.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.01864, allocations: 67.89 kB / 308.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.01886, allocations: 12 kB / 308.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.01958, allocations: 350.3 kB / 308.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.01969, allocations: 111.4 kB / 308.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.115e-05/0.01979, allocations: 33.47 kB / 308.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.01984, allocations: 20.48 kB / 308.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01984, allocations: 0 / 308.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Templates: time 0.008309/0.02815, allocations: 3.276 MB / 312 MB, free: 11.32 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.140366204082966]