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.001315/0.001315, allocations: 83.64 kB / 21.43 MB, free: 3.133 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.005324/0.005324, allocations: 162.5 kB / 24.69 MB, free: 9.441 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.8288/0.8288, allocations: 158.6 MB / 186.5 MB, free: 3.047 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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.506e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00216/0.002186, allocations: 1.621 MB / 300.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.003713, allocations: 1.162 MB / 301.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.003815, allocations: 3.938 kB / 301.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.00424, allocations: 39.72 kB / 301.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.004342, allocations: 35.77 kB / 301.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.004968, allocations: 330.8 kB / 301.6 MB, free: 308 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.005122, allocations: 143.6 kB / 301.8 MB, free: 164 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.005202, allocations: 21.19 kB / 301.8 MB, free: 144 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.005316, allocations: 95.78 kB / 301.9 MB, free: 48 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1136/0.1189, allocations: 79.75 kB / 302 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.119, allocations: 12.72 kB / 302 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005795/0.1196, allocations: 324 kB / 302.3 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1197, allocations: 54.88 kB / 302.3 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.1198, allocations: 46.41 kB / 302.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.1203, allocations: 379.6 kB / 302.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1203, allocations: 1.125 kB / 302.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1203, allocations: 0 / 302.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1203, allocations: 1.031 kB / 302.8 MB, free: 13.26 MB / 282.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.0009609/0.1213, allocations: 0.4911 MB / 303.3 MB, free: 12.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1213, allocations: 13.92 kB / 303.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.1214, allocations: 35.84 kB / 303.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1215, allocations: 27.19 kB / 303.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1218, allocations: 218.1 kB / 303.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1218, allocations: 10.72 kB / 303.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1218, allocations: 6.547 kB / 303.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.122, allocations: 105.1 kB / 303.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.122, allocations: 2.094 kB / 303.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.122, allocations: 3.062 kB / 303.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.122, allocations: 9.156 kB / 303.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1222, allocations: 77.28 kB / 303.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.1227, allocations: 396.5 kB / 304.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1229, allocations: 120.5 kB / 304.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.123, allocations: 57.14 kB / 304.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.123, allocations: 2.984 kB / 304.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.1231, allocations: 119.3 kB / 304.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.1232, allocations: 2.094 kB / 304.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003705/0.1235, allocations: 234.3 kB / 304.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1236, allocations: 62.47 kB / 304.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1238, allocations: 246.6 kB / 305 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1238, allocations: 45.38 kB / 305 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1239, allocations: 115.1 kB / 305.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1239, allocations: 43.34 kB / 305.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.144e-05/0.124, allocations: 48.12 kB / 305.2 MB, free: 12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.124, allocations: 334.3 kB / 305.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1242, allocations: 83.09 kB / 305.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1243, allocations: 103 kB / 305.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1245, allocations: 181.6 kB / 305.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1245, allocations: 1.375 kB / 305.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000274/0.1247, allocations: 261.2 kB / 306.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1248, allocations: 6.125 kB / 306.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1248, allocations: 4.031 kB / 306.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1248, allocations: 2.25 kB / 306.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1249, allocations: 34.45 kB / 306.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1249, allocations: 1.062 kB / 306.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.125, allocations: 34.28 kB / 306.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.125, allocations: 10.8 kB / 306.2 MB, free: 11.58 MB / 282.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 7.466e-05/0.1251, allocations: 135.4 kB / 306.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1251, allocations: 20.33 kB / 306.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.1251, allocations: 23.19 kB / 306.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1251, allocations: 0.9688 kB / 306.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1251, allocations: 0 / 306.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1251, allocations: 2.125 kB / 306.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.1253, allocations: 205.8 kB / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1253, allocations: 0 / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.1253, allocations: 16.86 kB / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1254, allocations: 0 / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1254, allocations: 4.109 kB / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1254, allocations: 3.188 kB / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1254, allocations: 4 kB / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1257, allocations: 276.9 kB / 306.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.1257, allocations: 37.83 kB / 307 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1258, allocations: 5.469 kB / 307 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.1258, allocations: 19.95 kB / 307 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1259, allocations: 11.97 kB / 307 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1259, allocations: 3.938 kB / 307 MB, free: 11.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1261, allocations: 192.1 kB / 307.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1261, allocations: 0 / 307.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.1264, allocations: 89.84 kB / 307.3 MB, free: 11.01 MB / 282.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.0008179/0.1272, allocations: 1.001 MB / 308.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1274, allocations: 160.4 kB / 308.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1274, allocations: 1.719 kB / 308.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1275, allocations: 58.78 kB / 308.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.1277, allocations: 33.02 kB / 308.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1297, allocations: 2.376 MB / 310.9 MB, free: 8.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.1297, allocations: 111.5 kB / 311 MB, free: 8.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.1298, allocations: 34.86 kB / 311 MB, free: 8.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1299, allocations: 49.62 kB / 311.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1299, allocations: 1.062 kB / 311.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.1493, allocations: 6.097 MB / 317.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.049, allocations: 5.031 kB / 317.2 MB, free: 6.727 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] 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: 9.143332673236728]