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.001925/0.001925, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.002232/0.002232, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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 1.713/1.713, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 55.91 kB / 348.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 49.16 MB / 397.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002727/0.3261, allocations: 1.534 MB / 399.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.3285, allocations: 1.493 MB / 400.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.3286, allocations: 1.406 kB / 400.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3287, allocations: 12.7 kB / 400.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.3288, allocations: 22.62 kB / 400.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3301, allocations: 406.9 kB / 401.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.3303, allocations: 131.2 kB / 401.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.3304, allocations: 6.531 kB / 401.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.3304, allocations: 60.95 kB / 401.3 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3306, allocations: 71.77 kB / 401.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.3306, allocations: 12.69 kB / 401.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009643/0.3315, allocations: 477.2 kB / 401.8 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.3316, allocations: 42.38 kB / 401.9 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.3317, allocations: 61.42 kB / 401.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.3325, allocations: 415.4 kB / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3325, allocations: 0.6094 kB / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3325, allocations: 0 / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.3325, allocations: 0 / 402.3 MB, free: 6.723 MB / 318.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.0007962/0.3333, allocations: 459.8 kB / 402.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3333, allocations: 17.11 kB / 402.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3336, allocations: 28.58 kB / 402.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.3337, allocations: 162.9 kB / 403 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3338, allocations: 5.141 kB / 403 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3338, allocations: 5.406 kB / 403 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.3341, allocations: 132.6 kB / 403.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3341, allocations: 1.344 kB / 403.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3341, allocations: 4.703 kB / 403.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3341, allocations: 5.875 kB / 403.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.3343, allocations: 65.06 kB / 403.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.335, allocations: 0.5233 MB / 403.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3353, allocations: 142.5 kB / 403.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3355, allocations: 63.75 kB / 403.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3355, allocations: 1.125 kB / 403.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.3358, allocations: 159.9 kB / 404.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3358, allocations: 1.188 kB / 404.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006333/0.3365, allocations: 252.6 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3365, allocations: 112.7 kB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3367, allocations: 196 kB / 404.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.3367, allocations: 44.3 kB / 404.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.3368, allocations: 115.2 kB / 404.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.3368, allocations: 46.2 kB / 404.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.3369, allocations: 63.59 kB / 404.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.337, allocations: 335.6 kB / 405.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.3373, allocations: 98.61 kB / 405.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.3375, allocations: 144.4 kB / 405.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.338, allocations: 229.8 kB / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.338, allocations: 0 / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006207/0.3386, allocations: 317.6 kB / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3386, allocations: 9.5 kB / 406 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3387, allocations: 0 / 406 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3387, allocations: 3.672 kB / 406 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3389, allocations: 31.62 kB / 406 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3389, allocations: 1.375 kB / 406 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.339, allocations: 25.67 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.339, allocations: 11.91 kB / 406.1 MB, free: 4.109 MB / 318.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.0001702/0.3392, allocations: 150.9 kB / 406.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3392, allocations: 15.08 kB / 406.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.3393, allocations: 19.05 kB / 406.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3393, allocations: 2.625 kB / 406.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3393, allocations: 2.156 kB / 406.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3393, allocations: 0.7031 kB / 406.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3395, allocations: 193.9 kB / 406.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3395, allocations: 0 / 406.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3396, allocations: 15.09 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3396, allocations: 1.984 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3396, allocations: 2.953 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3396, allocations: 1.031 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3396, allocations: 5.797 kB / 406.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.34, allocations: 240.5 kB / 406.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.3401, allocations: 23.5 kB / 406.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.3401, allocations: 8.703 kB / 406.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3402, allocations: 14.05 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.3403, allocations: 11.17 kB / 406.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3403, allocations: 12.8 kB / 406.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.3404, allocations: 143.4 kB / 406.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3404, allocations: 1.375 kB / 406.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.341, allocations: 133.4 kB / 407 MB, free: 3.445 MB / 318.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.0008582/0.3419, allocations: 334.1 kB / 407.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.3424, allocations: 188.1 kB / 407.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3424, allocations: 1.062 kB / 407.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3426, allocations: 68.59 kB / 407.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.3428, allocations: 13.27 kB / 407.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.3434, allocations: 301.7 kB / 407.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.3435, allocations: 0.7301 MB / 408.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.3436, allocations: 18.2 kB / 408.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3436, allocations: 0 / 408.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Templates: time 0.007851/0.3514, allocations: 4.002 MB / 412.7 MB, free: 0.6797 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.565559723880142]