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.0008077/0.0008077, allocations: 83.62 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.003417/0.003417, allocations: 165.8 kB / 24.7 MB, free: 8.887 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.8497/0.8497, 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 3.216e-06/3.216e-06, allocations: 3.938 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.147e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003368/0.0034, allocations: 1.621 MB / 300.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.005301, allocations: 1.159 MB / 301.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.005388, allocations: 11.94 kB / 301.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.00572, allocations: 31.72 kB / 301.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.005806, allocations: 39.77 kB / 301.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.006475, allocations: 326.8 kB / 301.6 MB, free: 304 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.006655, allocations: 147.6 kB / 301.8 MB, free: 156 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.006739, allocations: 17.23 kB / 301.8 MB, free: 140 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.00686, allocations: 99.72 kB / 301.9 MB, free: 40 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1338/0.1406, allocations: 80.55 kB / 302 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.1407, allocations: 14.34 kB / 302 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006129/0.1413, allocations: 315.8 kB / 302.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1414, allocations: 56.14 kB / 302.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.1415, allocations: 46.89 kB / 302.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.142, allocations: 381.9 kB / 302.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.142, allocations: 1.062 kB / 302.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.142, allocations: 0 / 302.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.142, allocations: 3.812 kB / 302.8 MB, free: 13.25 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.0009342/0.143, allocations: 0.493 MB / 303.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.143, allocations: 12.86 kB / 303.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.143, allocations: 37.41 kB / 303.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1432, allocations: 28.58 kB / 303.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1435, allocations: 211.2 kB / 303.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1435, allocations: 10.81 kB / 303.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1435, allocations: 9.516 kB / 303.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1437, allocations: 104.5 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1437, allocations: 0.8438 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1437, allocations: 4.719 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1437, allocations: 5 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1439, allocations: 76.81 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.1445, allocations: 393 kB / 304.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1446, allocations: 121.7 kB / 304.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.1447, allocations: 60.48 kB / 304.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1447, allocations: 1.219 kB / 304.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1449, allocations: 120.7 kB / 304.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.876e-06/0.1449, allocations: 0 / 304.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003558/0.1452, allocations: 239.5 kB / 304.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1453, allocations: 61.67 kB / 304.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1455, allocations: 250.6 kB / 305 MB, free: 12.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1455, allocations: 36.45 kB / 305 MB, free: 12.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.1456, allocations: 119.6 kB / 305.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.1456, allocations: 43.11 kB / 305.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.1457, allocations: 43.78 kB / 305.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.1457, allocations: 333.8 kB / 305.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1458, allocations: 86.94 kB / 305.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.146, allocations: 103.8 kB / 305.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1462, allocations: 180.6 kB / 305.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1462, allocations: 1.188 kB / 305.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003042/0.1465, allocations: 261.7 kB / 306.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1465, allocations: 9.297 kB / 306.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1465, allocations: 1.188 kB / 306.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1465, allocations: 1.188 kB / 306.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1466, allocations: 36.16 kB / 306.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1466, allocations: 1.188 kB / 306.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1467, allocations: 31.81 kB / 306.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1467, allocations: 13.52 kB / 306.2 MB, free: 11.56 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 8.172e-05/0.1468, allocations: 136.3 kB / 306.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1468, allocations: 20 kB / 306.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.1469, allocations: 23 kB / 306.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1469, allocations: 1.094 kB / 306.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1469, allocations: 1.094 kB / 306.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1469, allocations: 0.6094 kB / 306.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1471, allocations: 207.2 kB / 306.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1471, allocations: 0 / 306.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.1471, allocations: 15.11 kB / 306.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1471, allocations: 1.875 kB / 306.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1472, allocations: 5.266 kB / 306.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1472, allocations: 1.781 kB / 306.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1472, allocations: 4 kB / 306.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.1475, allocations: 280.8 kB / 306.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1476, allocations: 31.3 kB / 307 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1476, allocations: 9.797 kB / 307 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.1477, allocations: 16.92 kB / 307 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1477, allocations: 11.62 kB / 307 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.1477, allocations: 4.25 kB / 307 MB, free: 11.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1479, allocations: 193 kB / 307.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1479, allocations: 0 / 307.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.1483, allocations: 89.86 kB / 307.3 MB, free: 11 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.0009022/0.1492, allocations: 0.9997 MB / 308.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1495, allocations: 160 kB / 308.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1495, allocations: 1.438 kB / 308.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.1495, allocations: 62.7 kB / 308.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1497, allocations: 32.81 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.002283/0.152, allocations: 2.375 MB / 310.9 MB, free: 8.672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.394e-05/0.1521, allocations: 111.4 kB / 311 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.1522, allocations: 34.11 kB / 311 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.1523, allocations: 51.23 kB / 311.1 MB, free: 8.566 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1523, allocations: 4 kB / 311.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.1767, allocations: 6.096 MB / 317.2 MB, free: 6.719 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.262, allocations: 5 kB / 317.2 MB, free: 6.715 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00249994 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.csv","/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: 11.493139239028096]