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.001613/0.001613, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001729/0.001729, allocations: 168 kB / 25.02 MB, free: 8.43 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 1.595/1.595, allocations: 158.6 MB / 186.8 MB, free: 2.855 MB / 170.7 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.974e-06/1.974e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.573e-05, allocations: 2.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004112/0.004148, allocations: 1.644 MB / 252 MB, free: 2.277 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.007016, allocations: 1.159 MB / 253.2 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.007171, allocations: 3.938 kB / 253.2 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.007644, allocations: 39.7 kB / 253.2 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.007849, allocations: 35.77 kB / 253.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.009021, allocations: 326.7 kB / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.009351, allocations: 155.6 kB / 253.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.009466, allocations: 13.27 kB / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.009748, allocations: 91.72 kB / 253.8 MB, free: 464 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.009996, allocations: 91.73 kB / 253.9 MB, free: 372 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.01004, allocations: 12 kB / 253.9 MB, free: 360 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/0.01077, allocations: 319.3 kB / 254.2 MB, free: 40 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.0109, allocations: 51.89 kB / 254.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.01101, allocations: 51.75 kB / 254.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.01184, allocations: 382.8 kB / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01185, allocations: 0 / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01185, allocations: 0 / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.01185, allocations: 0 / 254.7 MB, free: 15.56 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.001586/0.01344, allocations: 496.8 kB / 255.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.01349, allocations: 15.98 kB / 255.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.01381, allocations: 40.72 kB / 255.2 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.01433, allocations: 210.5 kB / 255.5 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.01434, allocations: 384 / 255.5 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.01438, allocations: 16.31 kB / 255.5 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.01464, allocations: 102.1 kB / 255.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01465, allocations: 4.188 kB / 255.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01467, allocations: 8.375 kB / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01468, allocations: 7.922 kB / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.01489, allocations: 71.94 kB / 255.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.01581, allocations: 368.3 kB / 256 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.01612, allocations: 126.4 kB / 256.1 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.01624, allocations: 52.83 kB / 256.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.01626, allocations: 0 / 256.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.01654, allocations: 125.6 kB / 256.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.01654, allocations: 4 kB / 256.3 MB, free: 13.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006014/0.01714, allocations: 233.6 kB / 256.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.01721, allocations: 59.41 kB / 256.6 MB, free: 13.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.01772, allocations: 247.8 kB / 256.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.01776, allocations: 41.69 kB / 256.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.01801, allocations: 116.1 kB / 257 MB, free: 13.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.01808, allocations: 47.77 kB / 257 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01818, allocations: 45.7 kB / 257.1 MB, free: 13.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01837, allocations: 334.8 kB / 257.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.01856, allocations: 79.95 kB / 257.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.01877, allocations: 113.5 kB / 257.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.01913, allocations: 189.5 kB / 257.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.01913, allocations: 3.938 kB / 257.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005407/0.01967, allocations: 265.3 kB / 258.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01969, allocations: 4 kB / 258.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.0197, allocations: 4 kB / 258.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.01973, allocations: 0 / 258.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.01992, allocations: 35.92 kB / 258.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.01993, allocations: 0 / 258.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.02014, allocations: 31.89 kB / 258.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.02017, allocations: 8 kB / 258.1 MB, free: 11.94 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.0001743/0.02034, allocations: 137.8 kB / 258.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.02041, allocations: 19.91 kB / 258.3 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.02047, allocations: 21.45 kB / 258.3 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.02048, allocations: 7.938 kB / 258.3 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.02049, allocations: 4 kB / 258.3 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.02049, allocations: 0 / 258.3 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.02074, allocations: 177.1 kB / 258.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.02074, allocations: 4 kB / 258.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.02088, allocations: 15.98 kB / 258.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.02088, allocations: 0 / 258.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.0209, allocations: 4 kB / 258.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0209, allocations: 0 / 258.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02091, allocations: 0 / 258.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.02155, allocations: 284.8 kB / 258.8 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.02163, allocations: 27.88 kB / 258.8 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.02167, allocations: 7.984 kB / 258.8 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.02186, allocations: 24.05 kB / 258.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.02193, allocations: 7.984 kB / 258.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.02194, allocations: 7.922 kB / 258.9 MB, free: 11.14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003996/0.02234, allocations: 185.5 kB / 259.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02234, allocations: 0 / 259.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.02277, allocations: 91.73 kB / 259.1 MB, free: 10.88 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.001009/0.02378, allocations: 305 kB / 259.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.0242, allocations: 163.8 kB / 259.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02421, allocations: 4 kB / 259.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.02437, allocations: 59.91 kB / 259.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.02465, allocations: 31.88 kB / 259.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.02547, allocations: 348.3 kB / 260 MB, free: 9.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.02562, allocations: 119.5 kB / 260.2 MB, free: 9.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.02573, allocations: 37.44 kB / 260.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.0258, allocations: 16.5 kB / 260.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0258, allocations: 0 / 260.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of Templates: time 0.00889/0.03469, allocations: 3.352 MB / 263.6 MB, free: 6.441 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=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.3525391010334715]