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.001499/0.001499, allocations: 103.6 kB / 21.18 MB, free: 332 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.001553/0.001553, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.548/1.548, allocations: 207.7 MB / 235.3 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.002161/0.002161, allocations: 56.3 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3208, allocations: 49.15 MB / 396.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002809/0.3236, allocations: 1.518 MB / 398.4 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3261, allocations: 1.368 MB / 399.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.3261, allocations: 1.25 kB / 399.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.3262, allocations: 9.609 kB / 399.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.797e-05/0.3263, allocations: 30.23 kB / 399.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3275, allocations: 399.5 kB / 400.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3277, allocations: 135.1 kB / 400.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.3278, allocations: 6.453 kB / 400.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.3278, allocations: 65.55 kB / 400.4 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.3279, allocations: 56.02 kB / 400.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3279, allocations: 11.41 kB / 400.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008412/0.3288, allocations: 450.9 kB / 400.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.3288, allocations: 30.66 kB / 400.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.3289, allocations: 58.11 kB / 401 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.3296, allocations: 410.6 kB / 401.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3296, allocations: 0 / 401.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3296, allocations: 0 / 401.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3296, allocations: 5.281 kB / 401.4 MB, free: 6.855 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.0007543/0.3304, allocations: 456.3 kB / 401.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3304, allocations: 13.7 kB / 401.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.3306, allocations: 29.94 kB / 401.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3308, allocations: 164.5 kB / 402 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3308, allocations: 8.703 kB / 402 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3308, allocations: 6.25 kB / 402 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.3311, allocations: 128.8 kB / 402.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3311, allocations: 5.219 kB / 402.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3311, allocations: 0 / 402.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3311, allocations: 1.984 kB / 402.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3313, allocations: 70.08 kB / 402.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.332, allocations: 480.6 kB / 402.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.3323, allocations: 153.3 kB / 402.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3324, allocations: 55.31 kB / 402.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3325, allocations: 1.344 kB / 402.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.3328, allocations: 154.5 kB / 403 MB, free: 5.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3328, allocations: 0 / 403 MB, free: 5.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006496/0.3335, allocations: 252.3 kB / 403.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.3336, allocations: 122.2 kB / 403.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3338, allocations: 191.9 kB / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.3338, allocations: 51.5 kB / 403.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.3339, allocations: 111.8 kB / 403.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.3339, allocations: 51.33 kB / 403.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.334, allocations: 55.48 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.334, allocations: 330.9 kB / 404.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.3343, allocations: 108 kB / 404.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3345, allocations: 143.9 kB / 404.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.3349, allocations: 227.1 kB / 404.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3349, allocations: 3.938 kB / 404.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006153/0.3356, allocations: 308.3 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3356, allocations: 10.75 kB / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3356, allocations: 0.75 kB / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.3356, allocations: 1.875 kB / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3358, allocations: 36.59 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3358, allocations: 2.922 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.3359, allocations: 24.83 kB / 405 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3359, allocations: 7.656 kB / 405 MB, free: 4.297 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.0001245/0.336, allocations: 154.7 kB / 405.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3361, allocations: 16.39 kB / 405.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.3361, allocations: 14.47 kB / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3361, allocations: 2.188 kB / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3361, allocations: 1.375 kB / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3361, allocations: 0.6562 kB / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3363, allocations: 154.7 kB / 405.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3363, allocations: 2.344 kB / 405.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3363, allocations: 9.922 kB / 405.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3363, allocations: 5.219 kB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3364, allocations: 3.594 kB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3364, allocations: 1.094 kB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3364, allocations: 1.188 kB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.3367, allocations: 243 kB / 405.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.3368, allocations: 23.06 kB / 405.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3368, allocations: 20.41 kB / 405.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.3369, allocations: 6.422 kB / 405.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.3369, allocations: 19.12 kB / 405.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.337, allocations: 5.297 kB / 405.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.3371, allocations: 140.7 kB / 405.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 405.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005862/0.3376, allocations: 129 kB / 406 MB, free: 3.676 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.0008338/0.3385, allocations: 357.1 kB / 406.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004632/0.3389, allocations: 197.5 kB / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3389, allocations: 0 / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3391, allocations: 59.38 kB / 406.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.3393, allocations: 8.531 kB / 406.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.3398, allocations: 280 kB / 406.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.3399, allocations: 110.4 kB / 407 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.039e-05/0.34, allocations: 20.3 kB / 407 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.34, allocations: 16.64 kB / 407 MB, free: 3.094 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.34, allocations: 0 / 407 MB, free: 3.094 MB / 318.1 MB Notification: Performance of Templates: time 0.008436/0.3485, allocations: 3.78 MB / 410.8 MB, free: 1.645 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins/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: 4.975123995915055]