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.001148/0.001155, allocations: 104 kB / 17.58 MB, free: 5.426 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.001249/0.001249, allocations: 187.9 kB / 18.51 MB, free: 4.512 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.955/1.955, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001781/0.001781, allocations: 56.14 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1459, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004197/0.1501, allocations: 1.645 MB / 329 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1529, allocations: 1.229 MB / 330.2 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1532, allocations: 4 kB / 330.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.1536, allocations: 31.77 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1539, allocations: 39.77 kB / 330.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1551, allocations: 295.1 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1555, allocations: 179.6 kB / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.1556, allocations: 17.36 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.1558, allocations: 83.67 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.156, allocations: 91.64 kB / 331 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.1561, allocations: 16 kB / 331 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005983/0.1567, allocations: 283.5 kB / 331.3 MB, free: 476 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1568, allocations: 59.81 kB / 331.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1569, allocations: 67.59 kB / 331.4 MB, free: 348 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.1577, allocations: 339.1 kB / 331.7 MB, free: 8 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1577, allocations: 0 / 331.7 MB, free: 8 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1578, allocations: 0 / 331.7 MB, free: 8 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1578, allocations: 0 / 331.7 MB, free: 8 kB / 270.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.001396/0.1592, allocations: 0.5532 MB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1592, allocations: 12.03 kB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/0.1593, allocations: 42.67 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.1596, allocations: 32.72 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.1601, allocations: 268.8 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1601, allocations: 12.38 kB / 332.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1602, allocations: 8.281 kB / 332.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.1604, allocations: 117.6 kB / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1604, allocations: 0 / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1605, allocations: 0 / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1605, allocations: 0 / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1607, allocations: 87.86 kB / 332.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/0.1616, allocations: 452.5 kB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1619, allocations: 122.5 kB / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.162, allocations: 56.83 kB / 333.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.162, allocations: 7.984 kB / 333.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.1623, allocations: 123.3 kB / 333.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.1623, allocations: 0 / 333.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005356/0.1628, allocations: 225.5 kB / 333.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.1629, allocations: 63.39 kB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.1634, allocations: 251.8 kB / 334.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1635, allocations: 33.7 kB / 334.2 MB, free: 13.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1636, allocations: 124 kB / 334.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1637, allocations: 35.59 kB / 334.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1638, allocations: 53.69 kB / 334.4 MB, free: 13.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.164, allocations: 330.8 kB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1642, allocations: 87.94 kB / 334.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.1644, allocations: 109.7 kB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1647, allocations: 177.8 kB / 335 MB, free: 12.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1647, allocations: 3.938 kB / 335.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005171/0.1652, allocations: 253.3 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1653, allocations: 4 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1653, allocations: 0 / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.1653, allocations: 15.95 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1655, allocations: 27.92 kB / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1655, allocations: 4 kB / 335.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.1658, allocations: 31.81 kB / 335.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1658, allocations: 4 kB / 335.4 MB, free: 12.09 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.0001761/0.166, allocations: 145.6 kB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.166, allocations: 15.75 kB / 335.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.1661, allocations: 25.52 kB / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1661, allocations: 7.938 kB / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1662, allocations: 0 / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1662, allocations: 0 / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1665, allocations: 245.5 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1665, allocations: 4 kB / 335.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1667, allocations: 12 kB / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1667, allocations: 3.984 kB / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1667, allocations: 0 / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1667, allocations: 7.938 kB / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1667, allocations: 4 kB / 335.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.1673, allocations: 268.8 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1675, allocations: 112.8 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1675, allocations: 4 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1677, allocations: 19.91 kB / 336.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.1678, allocations: 11.98 kB / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.1678, allocations: 8.062 kB / 336.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000388/0.1682, allocations: 189.4 kB / 336.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.595e-06/0.1683, allocations: 0 / 336.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.1688, allocations: 91.92 kB / 336.5 MB, free: 10.85 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.001924/0.1707, allocations: 0.9837 MB / 337.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1712, allocations: 183.8 kB / 337.7 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1713, allocations: 4 kB / 337.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.1714, allocations: 67.91 kB / 337.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1717, allocations: 23.89 kB / 337.8 MB, free: 9.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.1759, allocations: 2.365 MB / 340.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.1764, allocations: 0.7319 MB / 340.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.1766, allocations: 33.39 kB / 340.9 MB, free: 6.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1767, allocations: 47.42 kB / 341 MB, free: 6.273 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1767, allocations: 0 / 341 MB, free: 6.273 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.2077, allocations: 5.173 MB / 346.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.103, allocations: 3.938 kB / 346.1 MB, free: 1.035 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches