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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007013/0.0007012, allocations: 97.36 kB / 17.3 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009224/0.0009223, allocations: 178.5 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 12 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002374/0.1193, allocations: 1.371 MB / 330.4 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1219, allocations: 1.249 MB / 331.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.122, allocations: 3.938 kB / 331.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1224, allocations: 19.91 kB / 331.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1225, allocations: 43.77 kB / 331.7 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.1231, allocations: 231.5 kB / 332 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1234, allocations: 171.6 kB / 332.1 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1235, allocations: 25.34 kB / 332.2 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1237, allocations: 71.69 kB / 332.2 MB, free: 476 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1239, allocations: 91.64 kB / 332.3 MB, free: 384 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1239, allocations: 8 kB / 332.3 MB, free: 376 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.1244, allocations: 303.4 kB / 332.6 MB, free: 72 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.1245, allocations: 55.81 kB / 332.7 MB, free: 16 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1246, allocations: 93.27 kB / 332.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.1251, allocations: 327 kB / 333.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1251, allocations: 0 / 333.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1251, allocations: 4 kB / 333.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1251, allocations: 0 / 333.1 MB, free: 15.59 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.001285/0.1264, allocations: 0.5338 MB / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1265, allocations: 8.031 kB / 333.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.1265, allocations: 38.75 kB / 333.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1267, allocations: 28.73 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.1272, allocations: 272.9 kB / 334 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1273, allocations: 16.36 kB / 334 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1273, allocations: 4.375 kB / 334 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1275, allocations: 117.6 kB / 334.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1275, allocations: 0 / 334.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1276, allocations: 0 / 334.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1276, allocations: 4 kB / 334.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1278, allocations: 87.92 kB / 334.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.1286, allocations: 456.5 kB / 334.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1289, allocations: 134.4 kB / 334.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1291, allocations: 60.83 kB / 334.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.1291, allocations: 0 / 334.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1293, allocations: 119.3 kB / 334.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1293, allocations: 0 / 334.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004987/0.1298, allocations: 237.6 kB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1299, allocations: 59.41 kB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1303, allocations: 251.7 kB / 335.5 MB, free: 13 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.1303, allocations: 41.69 kB / 335.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.1304, allocations: 108.1 kB / 335.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.1305, allocations: 47.58 kB / 335.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1305, allocations: 29.7 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1307, allocations: 334.8 kB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1308, allocations: 87.94 kB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.131, allocations: 113.6 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.1313, allocations: 185.8 kB / 336.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1313, allocations: 0 / 336.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004493/0.1318, allocations: 261.1 kB / 336.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1318, allocations: 8.031 kB / 336.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1318, allocations: 4 kB / 336.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1319, allocations: 3.938 kB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.132, allocations: 35.97 kB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1321, allocations: 0 / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.1323, allocations: 31.81 kB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1323, allocations: 8 kB / 336.7 MB, free: 11.68 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.0001531/0.1325, allocations: 141.5 kB / 336.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.1325, allocations: 15.81 kB / 336.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.1326, allocations: 21.53 kB / 336.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1326, allocations: 11.92 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1326, allocations: 0 / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1326, allocations: 0 / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1328, allocations: 233.6 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1329, allocations: 3.984 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.133, allocations: 15.94 kB / 337.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.133, allocations: 4 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.133, allocations: 11.98 kB / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.133, allocations: 3.938 kB / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.133, allocations: 0 / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.1335, allocations: 280.8 kB / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.1336, allocations: 112.9 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1337, allocations: 4 kB / 337.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1339, allocations: 27.91 kB / 337.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.1339, allocations: 15.92 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1339, allocations: 4 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.1343, allocations: 189.4 kB / 337.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1343, allocations: 7.938 kB / 337.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1346, allocations: 87.98 kB / 337.9 MB, free: 10.42 MB / 286.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.001263/0.1359, allocations: 0.9801 MB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.1363, allocations: 175.8 kB / 339.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1363, allocations: 4 kB / 339.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1364, allocations: 63.97 kB / 339.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.1367, allocations: 27.7 kB / 339.2 MB, free: 9.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.1399, allocations: 2.425 MB / 341.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1402, allocations: 0.7361 MB / 342.3 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1403, allocations: 33.39 kB / 342.4 MB, free: 5.848 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.1404, allocations: 51.42 kB / 342.4 MB, free: 5.797 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1404, allocations: 0 / 342.4 MB, free: 5.797 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.1572, allocations: 4.818 MB / 347.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/0.1575, allocations: 274 kB / 347.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.12, allocations: 0 / 347.5 MB, free: 0.6562 MB / 286.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches