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.001466/0.001466, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001541/0.001541, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.6 MB / 235.3 MB, free: 9.977 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.001866/0.001866, allocations: 51.92 kB / 347.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3417, allocations: 49.16 MB / 396.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002925/0.3446, allocations: 1.542 MB / 398.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.3473, allocations: 1.492 MB / 399.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.3474, allocations: 1 kB / 399.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3475, allocations: 9.469 kB / 399.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3476, allocations: 30.17 kB / 399.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3489, allocations: 407.2 kB / 400.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3491, allocations: 131.6 kB / 400.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.741e-05/0.3491, allocations: 14.11 kB / 400.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.3492, allocations: 56.69 kB / 400.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.3493, allocations: 68.69 kB / 400.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3493, allocations: 11.5 kB / 400.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.3501, allocations: 477.5 kB / 401.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.3502, allocations: 33.59 kB / 401.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.3503, allocations: 66.5 kB / 401.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.351, allocations: 416 kB / 401.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.351, allocations: 0 / 401.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.351, allocations: 0 / 401.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.351, allocations: 1.188 kB / 401.6 MB, free: 6.727 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.0007552/0.3517, allocations: 456.1 kB / 402 MB, free: 6.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3518, allocations: 13.72 kB / 402 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.352, allocations: 30.2 kB / 402.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3522, allocations: 164 kB / 402.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3522, allocations: 8.141 kB / 402.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3522, allocations: 10.53 kB / 402.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3525, allocations: 129.1 kB / 402.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3525, allocations: 0 / 402.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3525, allocations: 1.156 kB / 402.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3525, allocations: 1.281 kB / 402.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.3527, allocations: 69.06 kB / 402.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.3534, allocations: 0.5257 MB / 403 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.3538, allocations: 145.4 kB / 403.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3539, allocations: 54.66 kB / 403.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3539, allocations: 9.344 kB / 403.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.3543, allocations: 152.5 kB / 403.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3543, allocations: 0 / 403.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006718/0.3549, allocations: 248.7 kB / 403.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.355, allocations: 126.3 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3552, allocations: 191 kB / 403.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.3552, allocations: 48 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3553, allocations: 110.2 kB / 404 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.3553, allocations: 43.58 kB / 404.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.3554, allocations: 63.94 kB / 404.1 MB, free: 4.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.3555, allocations: 337.6 kB / 404.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3557, allocations: 99.98 kB / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.356, allocations: 143.8 kB / 404.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.3564, allocations: 230.1 kB / 404.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3564, allocations: 4 kB / 404.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005474/0.3569, allocations: 300.3 kB / 405.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3569, allocations: 6.547 kB / 405.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.357, allocations: 5.156 kB / 405.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.357, allocations: 2.312 kB / 405.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3571, allocations: 36.58 kB / 405.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3571, allocations: 3.188 kB / 405.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.3572, allocations: 27.69 kB / 405.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3573, allocations: 7.953 kB / 405.3 MB, free: 4.125 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.0001313/0.3574, allocations: 154.5 kB / 405.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.3574, allocations: 20.95 kB / 405.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.3575, allocations: 13.7 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3575, allocations: 2.406 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3575, allocations: 1.984 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3575, allocations: 1.281 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3577, allocations: 192.9 kB / 405.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3577, allocations: 1.188 kB / 405.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.3577, allocations: 15.33 kB / 405.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3577, allocations: 1.062 kB / 405.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3577, allocations: 3.047 kB / 405.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3577, allocations: 5.703 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3577, allocations: 1.125 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.3581, allocations: 245 kB / 405.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.3582, allocations: 19.33 kB / 406 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3582, allocations: 17 kB / 406 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.3583, allocations: 6.719 kB / 406 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.3583, allocations: 18.8 kB / 406 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3583, allocations: 7.922 kB / 406 MB, free: 3.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3585, allocations: 140 kB / 406.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 0 / 406.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005521/0.359, allocations: 130.8 kB / 406.3 MB, free: 3.461 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.0008023/0.3598, allocations: 350.6 kB / 406.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.3603, allocations: 193.7 kB / 406.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3603, allocations: 0 / 406.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3604, allocations: 50.02 kB / 406.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3606, allocations: 13.25 kB / 406.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.3611, allocations: 279.5 kB / 407.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.3613, allocations: 0.7247 MB / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.3614, allocations: 20.5 kB / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.3614, allocations: 20.92 kB / 407.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3614, allocations: 1.156 kB / 407.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Templates: time 0.008193/0.3696, allocations: 3.718 MB / 411.6 MB, free: 0.8438 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: 5.0729774159844965]