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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009683/0.0009683, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 172.2 kB / 25.7 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8507/0.8507, allocations: 158.6 MB / 187.6 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,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=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.856e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001884/0.001912, allocations: 1.536 MB / 253.1 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.003495, allocations: 1.43 MB / 254.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.003546, allocations: 0 / 254.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.776e-05/0.003624, allocations: 11.81 kB / 254.5 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.003697, allocations: 23.8 kB / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.004453, allocations: 410.4 kB / 254.9 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.004588, allocations: 139.5 kB / 255.1 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.004627, allocations: 18.27 kB / 255.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.004701, allocations: 71.81 kB / 255.2 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.004759, allocations: 59.78 kB / 255.2 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.004776, allocations: 8 kB / 255.2 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.005269, allocations: 447 kB / 255.7 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.005313, allocations: 31.86 kB / 255.7 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.005354, allocations: 47.83 kB / 255.7 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.005767, allocations: 442.7 kB / 256.2 MB, free: 2.598 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00577, allocations: 0 / 256.2 MB, free: 2.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00577, allocations: 3.938 kB / 256.2 MB, free: 2.594 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.435e-06/0.005773, allocations: 0 / 256.2 MB, free: 2.594 MB / 234.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.0004164/0.006189, allocations: 419.4 kB / 256.6 MB, free: 2.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.444e-05/0.006214, allocations: 11.98 kB / 256.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.006347, allocations: 32.84 kB / 256.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.302e-05/0.00644, allocations: 159 kB / 256.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.00646, allocations: 16.38 kB / 256.8 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.006473, allocations: 4.375 kB / 256.8 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.006588, allocations: 95.53 kB / 256.9 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.006594, allocations: 192 / 256.9 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.0066, allocations: 384 / 256.9 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006606, allocations: 7.938 kB / 256.9 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.00664, allocations: 25.64 kB / 256.9 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.006947, allocations: 390.1 kB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.007054, allocations: 167.5 kB / 257.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.007078, allocations: 26.58 kB / 257.5 MB, free: 1.133 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.007085, allocations: 3.984 kB / 257.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.963e-05/0.007184, allocations: 116.7 kB / 257.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 7.02e-07/0.007185, allocations: 0 / 257.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001359/0.007321, allocations: 115.2 kB / 257.7 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.007368, allocations: 118.7 kB / 257.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.007463, allocations: 183.4 kB / 258 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.007488, allocations: 49.81 kB / 258.1 MB, free: 496 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.007524, allocations: 100.6 kB / 258.2 MB, free: 392 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.00755, allocations: 47.66 kB / 258.2 MB, free: 344 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.007603, allocations: 57.66 kB / 258.3 MB, free: 280 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.007682, allocations: 330.8 kB / 258.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.007724, allocations: 30.81 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.007773, allocations: 63.25 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.007867, allocations: 113.4 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.00787, allocations: 8 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001365/0.008006, allocations: 152.2 kB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.008016, allocations: 8 kB / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008019, allocations: 0 / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.008029, allocations: 4 kB / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.008124, allocations: 39.98 kB / 259 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.008128, allocations: 4 kB / 259 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.008164, allocations: 23.81 kB / 259 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.008176, allocations: 4 kB / 259 MB, free: 15.46 MB / 250.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,globalSeed.seed,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,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 7.757e-05/0.008253, allocations: 152.8 kB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.008266, allocations: 7.938 kB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.008289, allocations: 21.39 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.008291, allocations: 4 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008293, allocations: 3.938 kB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.008296, allocations: 0 / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.008384, allocations: 101.8 kB / 259.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.008385, allocations: 0 / 259.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.008404, allocations: 12 kB / 259.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008407, allocations: 3.984 kB / 259.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.008413, allocations: 4 kB / 259.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.008415, allocations: 7.938 kB / 259.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008416, allocations: 0 / 259.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.539e-05/0.008511, allocations: 134.3 kB / 259.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.008527, allocations: 15.84 kB / 259.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.008545, allocations: 8 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.008576, allocations: 11.92 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.008605, allocations: 11.98 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.008611, allocations: 3.984 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.008648, allocations: 62.7 kB / 259.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008648, allocations: 0 / 259.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.008878, allocations: 119.7 kB / 259.7 MB, free: 14.73 MB / 250.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.0005366/0.009415, allocations: 396.6 kB / 260.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.00954, allocations: 100.8 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.009543, allocations: 4 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.009708, allocations: 32.97 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.009857, allocations: 19.94 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.01023, allocations: 276.2 kB / 260.5 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.727e-05/0.01032, allocations: 75.69 kB / 260.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.01039, allocations: 21.47 kB / 260.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.01045, allocations: 67.38 kB / 260.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of SimCode: time 1.462e-06/0.01046, allocations: 64 / 260.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of Templates: time 0.005811/0.01627, allocations: 4.238 MB / 264.9 MB, free: 9.496 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.631439086049795]