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.001888/0.001888, allocations: 81.48 kB / 22 MB, free: 5.18 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.001484/0.001484, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.364/1.364, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.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.002657/0.002657, allocations: 59.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3277, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003199/0.3309, allocations: 1.511 MB / 350 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.3337, allocations: 1.362 MB / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.3338, allocations: 0 / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.3339, allocations: 15.81 kB / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.334, allocations: 31.78 kB / 351.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3353, allocations: 402.8 kB / 351.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3355, allocations: 127.6 kB / 351.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.3356, allocations: 9.672 kB / 352 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.3357, allocations: 59.72 kB / 352 MB, free: 12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.3358, allocations: 67.67 kB / 352.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.3358, allocations: 15.98 kB / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000873/0.3367, allocations: 439.1 kB / 352.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.3367, allocations: 39.83 kB / 352.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.3368, allocations: 51.67 kB / 352.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.3374, allocations: 409.3 kB / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3374, allocations: 4 kB / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3375, allocations: 0 / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3375, allocations: 0 / 353 MB, free: 11 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.0008755/0.3383, allocations: 464.7 kB / 353.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3384, allocations: 11.98 kB / 353.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.3386, allocations: 36.83 kB / 353.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.3388, allocations: 151 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3388, allocations: 8.375 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3388, allocations: 4.375 kB / 353.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.3391, allocations: 136.4 kB / 353.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3392, allocations: 0 / 353.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3392, allocations: 4 kB / 353.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3392, allocations: 0 / 353.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.3394, allocations: 71.88 kB / 353.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.3402, allocations: 476.6 kB / 354.3 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.3406, allocations: 147.7 kB / 354.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3407, allocations: 62.48 kB / 354.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3407, allocations: 0 / 354.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.3411, allocations: 165.8 kB / 354.7 MB, free: 9.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.3411, allocations: 0 / 354.7 MB, free: 9.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006171/0.3417, allocations: 250.1 kB / 355 MB, free: 8.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.3418, allocations: 126.9 kB / 355.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.342, allocations: 187.2 kB / 355.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.342, allocations: 49.69 kB / 355.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3421, allocations: 112.6 kB / 355.4 MB, free: 8.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.3422, allocations: 47.61 kB / 355.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.3423, allocations: 57.69 kB / 355.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3425, allocations: 334.8 kB / 355.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3427, allocations: 95.95 kB / 355.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3429, allocations: 151.1 kB / 356.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.3434, allocations: 231.7 kB / 356.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3434, allocations: 0 / 356.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005825/0.344, allocations: 309.3 kB / 356.6 MB, free: 7.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.344, allocations: 4 kB / 356.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.344, allocations: 4.094 kB / 356.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.344, allocations: 4 kB / 356.6 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3442, allocations: 31.92 kB / 356.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3442, allocations: 7.984 kB / 356.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3443, allocations: 31.77 kB / 356.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3443, allocations: 4 kB / 356.7 MB, free: 7.039 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.0001593/0.3444, allocations: 157.7 kB / 356.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3445, allocations: 19.91 kB / 356.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.3445, allocations: 17.45 kB / 356.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3445, allocations: 0 / 356.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3445, allocations: 0 / 356.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3445, allocations: 0 / 356.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.3447, allocations: 153.2 kB / 357 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3447, allocations: 3.938 kB / 357.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.3448, allocations: 11.98 kB / 357.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3448, allocations: 0 / 357.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3448, allocations: 8 kB / 357.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3448, allocations: 0 / 357.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3448, allocations: 8 kB / 357.1 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.3452, allocations: 238.5 kB / 357.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3453, allocations: 23.83 kB / 357.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.3453, allocations: 8 kB / 357.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.3454, allocations: 7.984 kB / 357.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.3454, allocations: 15.98 kB / 357.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.3454, allocations: 4 kB / 357.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3456, allocations: 141.1 kB / 357.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3456, allocations: 4 kB / 357.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.346, allocations: 131.6 kB / 357.6 MB, free: 6.031 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.000854/0.3469, allocations: 350.2 kB / 358 MB, free: 5.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.3474, allocations: 191.7 kB / 358.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3474, allocations: 0 / 358.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.3475, allocations: 72.12 kB / 358.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.3477, allocations: 11.91 kB / 358.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3483, allocations: 273.1 kB / 358.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3484, allocations: 106.6 kB / 358.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.55e-05/0.3484, allocations: 29.45 kB / 358.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3485, allocations: 16.5 kB / 358.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3485, allocations: 0 / 358.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of Templates: time 0.008559/0.3571, allocations: 3.709 MB / 362.4 MB, free: 1.23 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 -s ida -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: 4.522583496989682]