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.002271/0.002271, allocations: 110 kB / 21.93 MB, free: 5.219 MB / 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.002787/0.002787, allocations: 213.5 kB / 25.22 MB, free: 3.031 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.639/1.639, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001865/0.001865, allocations: 55.92 kB / 348.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3276, allocations: 49.15 MB / 397.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002819/0.3304, allocations: 1.501 MB / 399.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.3328, allocations: 1.373 MB / 400.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3329, allocations: 0.9688 kB / 400.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.99e-05/0.333, allocations: 9.562 kB / 400.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3331, allocations: 30.92 kB / 400.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.3344, allocations: 402 kB / 400.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3346, allocations: 139.6 kB / 401 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.3347, allocations: 6.016 kB / 401.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.3348, allocations: 54.77 kB / 401.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.3348, allocations: 67.02 kB / 401.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3349, allocations: 12.44 kB / 401.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008473/0.3357, allocations: 442 kB / 401.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.3358, allocations: 34.91 kB / 401.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.3359, allocations: 49.84 kB / 401.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.3365, allocations: 418.8 kB / 402.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3366, allocations: 1.125 kB / 402.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3366, allocations: 3.938 kB / 402.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3366, allocations: 0 / 402.1 MB, free: 6.844 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.0007841/0.3373, allocations: 460.2 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3374, allocations: 13.95 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.3376, allocations: 34.75 kB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3378, allocations: 154.7 kB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3378, allocations: 11.97 kB / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.3378, allocations: 9.125 kB / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3381, allocations: 129.5 kB / 402.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3381, allocations: 3.984 kB / 402.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3381, allocations: 5.344 kB / 402.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3381, allocations: 5.094 kB / 402.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.3383, allocations: 61.02 kB / 403 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.339, allocations: 478.7 kB / 403.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.3394, allocations: 146.2 kB / 403.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3395, allocations: 59.86 kB / 403.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3395, allocations: 2.125 kB / 403.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.3399, allocations: 154.3 kB / 403.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3399, allocations: 4 kB / 403.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006351/0.3405, allocations: 252.9 kB / 404.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.3406, allocations: 113.1 kB / 404.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3408, allocations: 196.7 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.3408, allocations: 47.41 kB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.3409, allocations: 114 kB / 404.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.3409, allocations: 51.67 kB / 404.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.341, allocations: 64 kB / 404.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.3411, allocations: 331.8 kB / 405 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.3413, allocations: 100.1 kB / 405 MB, free: 4.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3416, allocations: 143.8 kB / 405.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.3419, allocations: 231.7 kB / 405.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.342, allocations: 4 kB / 405.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005429/0.3425, allocations: 299.8 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3425, allocations: 10.17 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3425, allocations: 1.344 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3425, allocations: 1.438 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3427, allocations: 36.81 kB / 405.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3427, allocations: 2.094 kB / 405.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.3428, allocations: 25.41 kB / 405.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3428, allocations: 11.52 kB / 405.8 MB, free: 4.285 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.0001293/0.343, allocations: 155 kB / 406 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.343, allocations: 15.64 kB / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.343, allocations: 15.7 kB / 406 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.343, allocations: 5.906 kB / 406 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.343, allocations: 1.5 kB / 406 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.343, allocations: 0.75 kB / 406 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3432, allocations: 150.9 kB / 406.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3432, allocations: 1.062 kB / 406.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.3433, allocations: 10.42 kB / 406.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3433, allocations: 1.062 kB / 406.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3433, allocations: 15.14 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3433, allocations: 1.969 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3433, allocations: 8.906 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3437, allocations: 239.4 kB / 406.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.3437, allocations: 21.72 kB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.3438, allocations: 9.266 kB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.3438, allocations: 11.66 kB / 406.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.3439, allocations: 11.09 kB / 406.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3439, allocations: 8.688 kB / 406.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.344, allocations: 144.5 kB / 406.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.344, allocations: 0 / 406.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005947/0.3446, allocations: 129.5 kB / 406.7 MB, free: 3.66 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.0008211/0.3454, allocations: 347.4 kB / 407.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004594/0.3459, allocations: 189.4 kB / 407.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3459, allocations: 0 / 407.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.346, allocations: 67.5 kB / 407.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.3462, allocations: 9.672 kB / 407.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.3468, allocations: 311.8 kB / 407.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.485e-05/0.3469, allocations: 110.7 kB / 407.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3469, allocations: 17.62 kB / 407.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3469, allocations: 0 / 407.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Templates: time 0.007663/0.3546, allocations: 4.048 MB / 411.8 MB, free: 1.484 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.610364792868495]