Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 93.28 kB / 17.3 MB, free: 6.395 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.00127/0.00127, allocations: 177.4 kB / 18.21 MB, free: 5.547 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.721/1.721, 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.0005548/0.0005549, allocations: 12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 47.59 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002168/0.1566, allocations: 1.272 MB / 330.2 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.1594, allocations: 1.482 MB / 331.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.1595, allocations: 0 / 331.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1597, allocations: 11.88 kB / 331.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1598, allocations: 19.84 kB / 331.7 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1608, allocations: 319.2 kB / 332.1 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.161, allocations: 119.7 kB / 332.2 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.1611, allocations: 5.5 kB / 332.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.1612, allocations: 55.7 kB / 332.2 MB, free: 484 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1613, allocations: 67.67 kB / 332.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1613, allocations: 8 kB / 332.3 MB, free: 408 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007048/0.162, allocations: 459 kB / 332.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.1621, allocations: 27.92 kB / 332.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.1622, allocations: 93.22 kB / 332.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.1628, allocations: 411.2 kB / 333.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1628, allocations: 0 / 333.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1628, allocations: 0 / 333.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1628, allocations: 0 / 333.3 MB, free: 15.42 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000848/0.1637, allocations: 0.4949 MB / 333.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1637, allocations: 8.031 kB / 333.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1639, allocations: 28.73 kB / 333.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1641, allocations: 212.7 kB / 334 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.1642, allocations: 8.359 kB / 334 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1642, allocations: 16.31 kB / 334 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1645, allocations: 132.5 kB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1645, allocations: 0 / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1645, allocations: 7.984 kB / 334.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1645, allocations: 3.938 kB / 334.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.1648, allocations: 67.95 kB / 334.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.1656, allocations: 0.5672 MB / 334.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.166, allocations: 163.7 kB / 335 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1661, allocations: 70.61 kB / 335 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.1661, allocations: 0 / 335 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.1665, allocations: 161.8 kB / 335.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.1665, allocations: 0 / 335.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006387/0.1671, allocations: 261.3 kB / 335.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.1672, allocations: 114.9 kB / 335.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1675, allocations: 206.8 kB / 335.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.1676, allocations: 45.81 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1677, allocations: 108.6 kB / 335.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.1678, allocations: 51.33 kB / 336 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.1678, allocations: 41.69 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.168, allocations: 338.8 kB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1683, allocations: 99.95 kB / 336.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.1685, allocations: 147.2 kB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.1689, allocations: 231.7 kB / 336.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1689, allocations: 4 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005728/0.1695, allocations: 313.2 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1695, allocations: 8.094 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.1696, allocations: 480 / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1696, allocations: 4 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1698, allocations: 35.92 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1698, allocations: 0 / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.1699, allocations: 27.73 kB / 337.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1699, allocations: 8 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001712/0.1701, allocations: 157.7 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1701, allocations: 15.81 kB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.1702, allocations: 13.39 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1702, allocations: 4.094 kB / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1702, allocations: 3.984 kB / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1702, allocations: 0 / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.1704, allocations: 221.5 kB / 337.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1705, allocations: 0 / 337.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.1705, allocations: 15.98 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1705, allocations: 4 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1706, allocations: 0 / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1706, allocations: 0 / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1706, allocations: 11.92 kB / 337.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.171, allocations: 253.2 kB / 337.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.1711, allocations: 96.84 kB / 338 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1711, allocations: 8 kB / 338 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1712, allocations: 11.98 kB / 338 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.1713, allocations: 11.98 kB / 338 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1713, allocations: 11.94 kB / 338 MB, free: 10.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1715, allocations: 145.1 kB / 338.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1715, allocations: 7.875 kB / 338.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.1719, allocations: 124 kB / 338.3 MB, free: 9.988 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008435/0.1727, allocations: 336 kB / 338.6 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.1732, allocations: 203.8 kB / 338.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1732, allocations: 0 / 338.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.1734, allocations: 75.91 kB / 338.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1736, allocations: 15.94 kB / 338.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.1742, allocations: 331.2 kB / 339.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1746, allocations: 0.7162 MB / 340 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.1746, allocations: 21.41 kB / 340 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1747, allocations: 15.44 kB / 340 MB, free: 8.238 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1747, allocations: 0 / 340 MB, free: 8.238 MB / 286.1 MB Notification: Performance of Templates: time 0.007299/0.182, allocations: 3.463 MB / 343.5 MB, free: 4.773 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches