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.001401/0.001401, 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.001637/0.001637, 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.556/1.556, allocations: 207.7 MB / 235.3 MB, free: 9.805 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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) [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.002099/0.002099, allocations: 55.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002478/0.3336, allocations: 1.515 MB / 397.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3358, allocations: 1.373 MB / 399.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.3359, allocations: 0 / 399.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.107e-05/0.336, allocations: 10.02 kB / 399.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.3361, allocations: 26.16 kB / 399.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3371, allocations: 403.8 kB / 399.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3372, allocations: 139.2 kB / 399.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.3373, allocations: 5.953 kB / 399.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.3374, allocations: 61.58 kB / 399.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.3374, allocations: 63.84 kB / 399.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.3375, allocations: 11.09 kB / 399.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.3383, allocations: 443.6 kB / 400.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3383, allocations: 33.36 kB / 400.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.3384, allocations: 53.92 kB / 400.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.3391, allocations: 414.4 kB / 400.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3391, allocations: 0 / 400.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.3391, allocations: 9.188 kB / 400.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3391, allocations: 0.9375 kB / 400.9 MB, free: 6.336 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.0007407/0.3398, allocations: 456.6 kB / 401.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3399, allocations: 13.42 kB / 401.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.118e-05/0.3399, allocations: 41.59 kB / 401.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.3402, allocations: 34.11 kB / 401.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3403, allocations: 152 kB / 401.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3403, allocations: 8.422 kB / 401.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3403, allocations: 10.83 kB / 401.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3406, allocations: 136.5 kB / 401.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3406, allocations: 1.406 kB / 401.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3406, allocations: 0 / 401.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3407, allocations: 5.375 kB / 401.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.3409, allocations: 68.12 kB / 401.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.3415, allocations: 0.508 MB / 402.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.3418, allocations: 150.2 kB / 402.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.342, allocations: 59.45 kB / 402.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.342, allocations: 1.656 kB / 402.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.3423, allocations: 154.1 kB / 402.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.3423, allocations: 1.344 kB / 402.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005853/0.3429, allocations: 255 kB / 402.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.343, allocations: 115 kB / 403 MB, free: 4.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3431, allocations: 204.4 kB / 403.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.3432, allocations: 46.64 kB / 403.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.3432, allocations: 115.4 kB / 403.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3433, allocations: 44.95 kB / 403.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3434, allocations: 58.58 kB / 403.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.3434, allocations: 338.5 kB / 403.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3436, allocations: 100.4 kB / 403.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3438, allocations: 146.8 kB / 404 MB, free: 3.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.3442, allocations: 220.5 kB / 404.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3442, allocations: 1.844 kB / 404.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005203/0.3447, allocations: 307.1 kB / 404.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3447, allocations: 5.281 kB / 404.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3447, allocations: 1.312 kB / 404.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3447, allocations: 1.625 kB / 404.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3449, allocations: 32.83 kB / 404.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3449, allocations: 2.219 kB / 404.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.345, allocations: 30.09 kB / 404.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.345, allocations: 14.45 kB / 404.6 MB, free: 3.695 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,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],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]) * 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.0001166/0.3451, allocations: 148.3 kB / 404.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3452, allocations: 15.55 kB / 404.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.3452, allocations: 18.81 kB / 404.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3452, allocations: 6.094 kB / 404.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3452, allocations: 1.594 kB / 404.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3452, allocations: 4.641 kB / 404.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3454, allocations: 176.8 kB / 405 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3454, allocations: 5.75 kB / 405 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.3454, allocations: 10.5 kB / 405 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3454, allocations: 2.344 kB / 405 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3454, allocations: 2.359 kB / 405 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3455, allocations: 1.312 kB / 405 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3455, allocations: 6.266 kB / 405 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.3458, allocations: 242 kB / 405.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.3459, allocations: 23.39 kB / 405.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.3459, allocations: 7.953 kB / 405.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.346, allocations: 10.23 kB / 405.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.346, allocations: 20.06 kB / 405.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.346, allocations: 8.484 kB / 405.3 MB, free: 3.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3461, allocations: 144.8 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3461, allocations: 0 / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005828/0.3467, allocations: 125.5 kB / 405.6 MB, free: 3.043 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,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.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.001405/0.3481, allocations: 1.098 MB / 406.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.3486, allocations: 196.9 kB / 406.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3486, allocations: 0 / 406.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3487, allocations: 58.97 kB / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.3489, allocations: 12.69 kB / 407 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3515, allocations: 2.309 MB / 409.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.3516, allocations: 107.4 kB / 409.4 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.3516, allocations: 24.14 kB / 409.4 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.3517, allocations: 54.42 kB / 409.4 MB, free: 452 kB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3517, allocations: 0 / 409.4 MB, free: 452 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.3884, allocations: 6.269 MB / 415.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.36, allocations: 1.469 kB / 415.7 MB, free: 13.25 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 52.5] 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: 13.944958212785423]