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: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 106.9 kB / 17.58 MB, free: 5.559 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.00162/0.00162, allocations: 192 kB / 18.51 MB, free: 4.641 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.512/1.512, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00119/0.001191, allocations: 55.92 kB / 280.7 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 46.63 MB / 327.3 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003644/0.1196, allocations: 1.629 MB / 328.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1222, allocations: 1.233 MB / 330.1 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1224, allocations: 0 / 330.1 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.123, allocations: 31.78 kB / 330.2 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1231, allocations: 43.77 kB / 330.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.1241, allocations: 291.1 kB / 330.5 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1243, allocations: 175.6 kB / 330.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1245, allocations: 25.05 kB / 330.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1247, allocations: 87.67 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1249, allocations: 99.58 kB / 330.9 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.1249, allocations: 12 kB / 330.9 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.1254, allocations: 287.5 kB / 331.2 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1255, allocations: 51.88 kB / 331.2 MB, free: 500 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.1256, allocations: 67.53 kB / 331.3 MB, free: 432 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.1261, allocations: 339.4 kB / 331.6 MB, free: 92 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1262, allocations: 0 / 331.6 MB, free: 92 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1262, allocations: 0 / 331.6 MB, free: 92 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1262, allocations: 0 / 331.6 MB, free: 92 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.001323/0.1275, allocations: 0.5532 MB / 332.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1276, allocations: 11.89 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.1278, allocations: 32.73 kB / 332.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.1283, allocations: 268.9 kB / 332.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1284, allocations: 8.375 kB / 332.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1284, allocations: 8.312 kB / 332.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1286, allocations: 109.9 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1287, allocations: 3.906 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1287, allocations: 0 / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1287, allocations: 3.938 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.1289, allocations: 83.94 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.1297, allocations: 448.5 kB / 333.1 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.13, allocations: 130.4 kB / 333.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1301, allocations: 60.83 kB / 333.3 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1301, allocations: 0 / 333.3 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.1304, allocations: 119.4 kB / 333.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1304, allocations: 0 / 333.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004895/0.1309, allocations: 233.4 kB / 333.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1309, allocations: 59.41 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.1313, allocations: 243.8 kB / 334 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1314, allocations: 41.69 kB / 334 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.1315, allocations: 116.2 kB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.1315, allocations: 43.36 kB / 334.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.1316, allocations: 53.69 kB / 334.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1318, allocations: 338.8 kB / 334.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1319, allocations: 83.95 kB / 334.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1321, allocations: 105.6 kB / 334.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.1324, allocations: 181.8 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.1324, allocations: 0 / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004019/0.1328, allocations: 261.3 kB / 335.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1328, allocations: 4 kB / 335.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1328, allocations: 3.984 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1329, allocations: 7.938 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.133, allocations: 27.92 kB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1331, allocations: 7.938 kB / 335.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1332, allocations: 31.81 kB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1333, allocations: 4 kB / 335.2 MB, free: 12.23 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.0001265/0.1334, allocations: 141.6 kB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1334, allocations: 19.8 kB / 335.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.1335, allocations: 21.52 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1335, allocations: 7.938 kB / 335.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1335, allocations: 4 kB / 335.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1335, allocations: 0 / 335.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1337, allocations: 241.5 kB / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1338, allocations: 0 / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1339, allocations: 23.92 kB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1339, allocations: 0 / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1339, allocations: 96 / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1339, allocations: 11.88 kB / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1339, allocations: 0 / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.1344, allocations: 269.2 kB / 336 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.1345, allocations: 108.8 kB / 336.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1345, allocations: 8 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1347, allocations: 27.91 kB / 336.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1348, allocations: 11.98 kB / 336.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1348, allocations: 4 kB / 336.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.1351, allocations: 189.4 kB / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1351, allocations: 0 / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1355, allocations: 91.97 kB / 336.4 MB, free: 10.98 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.0007645/0.1363, allocations: 289.2 kB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.1367, allocations: 175.8 kB / 336.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1367, allocations: 0 / 336.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1368, allocations: 63.91 kB / 336.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1371, allocations: 19.78 kB / 336.9 MB, free: 10.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.1378, allocations: 358.4 kB / 337.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1382, allocations: 0.7319 MB / 338 MB, free: 9.309 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1383, allocations: 37.38 kB / 338.1 MB, free: 9.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.1384, allocations: 19.44 kB / 338.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1384, allocations: 0 / 338.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of Templates: time 0.006741/0.1451, allocations: 3.12 MB / 341.2 MB, free: 6.129 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/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) Reference file matches