Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 98.34 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.000265, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2494, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001857/0.2513, allocations: 1.261 MB / 377.9 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.2537, allocations: 2.502 MB / 380.4 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.2538, allocations: 5.156 kB / 380.4 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2539, allocations: 9.312 kB / 380.4 MB, free: 42.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.774e-05/0.254, allocations: 17.11 kB / 380.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.2549, allocations: 321.6 kB / 380.7 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2551, allocations: 119.5 kB / 380.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.2552, allocations: 12.02 kB / 380.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.2552, allocations: 59.09 kB / 380.9 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.2553, allocations: 63.88 kB / 381 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.2553, allocations: 7.688 kB / 381 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.256, allocations: 439.4 kB / 381.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.2561, allocations: 31.56 kB / 381.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.2562, allocations: 87.61 kB / 381.5 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.2568, allocations: 410.5 kB / 381.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2568, allocations: 0 / 381.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2568, allocations: 0 / 381.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2568, allocations: 5.156 kB / 381.9 MB, free: 41.21 MB / 298.7 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.0007182/0.2576, allocations: 0.4911 MB / 382.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2576, allocations: 10.09 kB / 382.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.2578, allocations: 29.86 kB / 382.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.258, allocations: 209.1 kB / 382.7 MB, free: 40.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.258, allocations: 7.922 kB / 382.7 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.2581, allocations: 13.62 kB / 382.7 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.2583, allocations: 128.5 kB / 382.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2584, allocations: 3.938 kB / 382.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2584, allocations: 9.281 kB / 382.8 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2584, allocations: 1.031 kB / 382.8 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.2586, allocations: 68.39 kB / 382.9 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.2593, allocations: 0.5599 MB / 383.4 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.2597, allocations: 167.8 kB / 383.6 MB, free: 39.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2598, allocations: 69.95 kB / 383.7 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.2598, allocations: 5.406 kB / 383.7 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.2602, allocations: 158.7 kB / 383.8 MB, free: 39.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.2602, allocations: 0 / 383.8 MB, free: 39.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006015/0.2608, allocations: 262.7 kB / 384.1 MB, free: 39.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.2608, allocations: 111.8 kB / 384.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.261, allocations: 208.5 kB / 384.4 MB, free: 39.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.2611, allocations: 48.34 kB / 384.4 MB, free: 39.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.2611, allocations: 106.2 kB / 384.6 MB, free: 38.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.2612, allocations: 47.09 kB / 384.6 MB, free: 38.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.2612, allocations: 5.031 kB / 384.6 MB, free: 38.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.2613, allocations: 332.3 kB / 384.9 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.2615, allocations: 108.2 kB / 385 MB, free: 38.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2617, allocations: 150.9 kB / 385.2 MB, free: 38.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.2621, allocations: 235.3 kB / 385.4 MB, free: 38.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2621, allocations: 1.188 kB / 385.4 MB, free: 38.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005917/0.2627, allocations: 308 kB / 385.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2628, allocations: 5.312 kB / 385.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2628, allocations: 1.156 kB / 385.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2628, allocations: 6.125 kB / 385.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.263, allocations: 39.72 kB / 385.8 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.263, allocations: 2.344 kB / 385.8 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.2631, allocations: 28.45 kB / 385.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.2631, allocations: 6.906 kB / 385.8 MB, free: 38.12 MB / 298.7 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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * 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.0001287/0.2633, allocations: 163.6 kB / 386 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.2633, allocations: 15.16 kB / 386 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.2633, allocations: 12.72 kB / 386 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2634, allocations: 2.125 kB / 386 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2634, allocations: 1.031 kB / 386 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2634, allocations: 5.297 kB / 386 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2636, allocations: 221.4 kB / 386.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2636, allocations: 5.156 kB / 386.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.2636, allocations: 10.41 kB / 386.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2637, allocations: 1.062 kB / 386.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2637, allocations: 6.391 kB / 386.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2637, allocations: 0.9375 kB / 386.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2637, allocations: 5.062 kB / 386.2 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.2641, allocations: 249.1 kB / 386.5 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2642, allocations: 94.12 kB / 386.6 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2642, allocations: 7.781 kB / 386.6 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.2643, allocations: 13.23 kB / 386.6 MB, free: 37.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.2643, allocations: 14.14 kB / 386.6 MB, free: 37.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2644, allocations: 8.094 kB / 386.6 MB, free: 37.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2645, allocations: 148 kB / 386.8 MB, free: 37.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2645, allocations: 1 kB / 386.8 MB, free: 37.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005287/0.265, allocations: 129.9 kB / 386.9 MB, free: 37.26 MB / 298.7 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.0008463/0.2659, allocations: 366.3 kB / 387.2 MB, free: 37.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.2663, allocations: 208.3 kB / 387.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2664, allocations: 0 / 387.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2665, allocations: 72.06 kB / 387.5 MB, free: 36.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2667, allocations: 12.25 kB / 387.5 MB, free: 36.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.2672, allocations: 323.1 kB / 387.8 MB, free: 36.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2674, allocations: 0.7123 MB / 388.6 MB, free: 35.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.2674, allocations: 21.41 kB / 388.6 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2675, allocations: 23.38 kB / 388.6 MB, free: 35.77 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2675, allocations: 0 / 388.6 MB, free: 35.77 MB / 298.7 MB Notification: Performance of Templates: time 0.006015/0.2735, allocations: 3.469 MB / 392.1 MB, free: 32.31 MB / 298.7 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