Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 112.3 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002515/0.002515, allocations: 197 kB / 21.45 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.88 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1227, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003266/0.126, allocations: 1.665 MB / 428.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1282, allocations: 1.266 MB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.1283, allocations: 4 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1286, allocations: 35.77 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1287, allocations: 39.77 kB / 430.2 MB, free: 1.449 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007383/0.1295, allocations: 287.1 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.1298, allocations: 187.5 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.1299, allocations: 13.11 kB / 430.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1301, allocations: 83.73 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.1307, allocations: 112.1 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.1307, allocations: 12 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.1311, allocations: 291.5 kB / 431.1 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.1312, allocations: 51.83 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.1313, allocations: 79.56 kB / 431.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.1318, allocations: 322.9 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1318, allocations: 0 / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1318, allocations: 0 / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1318, allocations: 4 kB / 431.6 MB, free: 40 kB / 350.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.001304/0.1331, allocations: 0.5633 MB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1332, allocations: 11.97 kB / 432.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.1334, allocations: 36.72 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.1339, allocations: 269 kB / 432.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1339, allocations: 8.375 kB / 432.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.134, allocations: 8.375 kB / 432.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1342, allocations: 105.9 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1342, allocations: 0 / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1342, allocations: 0 / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1342, allocations: 4 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.1344, allocations: 79.94 kB / 432.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.1353, allocations: 452.5 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1356, allocations: 114.5 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1357, allocations: 52.83 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.1358, allocations: 4 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.136, allocations: 123.4 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.136, allocations: 0 / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005549/0.1365, allocations: 235.8 kB / 433.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1366, allocations: 59.34 kB / 433.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.1371, allocations: 251.7 kB / 433.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1371, allocations: 37.7 kB / 434 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.1372, allocations: 116 kB / 434.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.1373, allocations: 47.78 kB / 434.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.1374, allocations: 45.7 kB / 434.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1375, allocations: 338.8 kB / 434.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1377, allocations: 75.95 kB / 434.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1379, allocations: 109.7 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1382, allocations: 181.8 kB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1382, allocations: 0 / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004586/0.1387, allocations: 257.3 kB / 435.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1387, allocations: 4 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1387, allocations: 0 / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1387, allocations: 4 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1389, allocations: 43.89 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1389, allocations: 0 / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1391, allocations: 27.86 kB / 435.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1391, allocations: 12 kB / 435.2 MB, free: 12.19 MB / 366.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.0001551/0.1393, allocations: 129.9 kB / 435.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1393, allocations: 19.84 kB / 435.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1394, allocations: 25.52 kB / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1394, allocations: 15.92 kB / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1394, allocations: 0 / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1394, allocations: 0 / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1397, allocations: 253.3 kB / 435.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1397, allocations: 0 / 435.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1398, allocations: 15.98 kB / 435.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1398, allocations: 0 / 435.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1398, allocations: 4 kB / 435.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1398, allocations: 3.938 kB / 435.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1398, allocations: 4 kB / 435.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.1403, allocations: 276.9 kB / 435.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1405, allocations: 109 kB / 436 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.1405, allocations: 7.984 kB / 436 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1407, allocations: 19.92 kB / 436.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.1407, allocations: 7.984 kB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1407, allocations: 4 kB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.1411, allocations: 189.5 kB / 436.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1411, allocations: 0 / 436.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.1415, allocations: 87.8 kB / 436.3 MB, free: 10.94 MB / 366.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.0007366/0.1422, allocations: 268.5 kB / 436.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.1426, allocations: 166.7 kB / 436.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1426, allocations: 0 / 436.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1428, allocations: 59.84 kB / 436.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.143, allocations: 20.06 kB / 436.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.144, allocations: 349.4 kB / 437.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.1445, allocations: 0.728 MB / 437.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1446, allocations: 37.39 kB / 437.9 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.1446, allocations: 23.36 kB / 438 MB, free: 9.273 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1446, allocations: 0 / 438 MB, free: 9.273 MB / 366.1 MB Notification: Performance of Templates: time 0.008215/0.1528, allocations: 3.058 MB / 441 MB, free: 6.219 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.575580746866763]