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.001749/0.001749, 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.00208/0.00208, 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.679/1.679, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001865/0.001865, allocations: 56.34 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 49.17 MB / 396.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003246/0.3483, allocations: 1.529 MB / 397.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.351, allocations: 1.489 MB / 399.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.3511, allocations: 1.219 kB / 399.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.748e-05/0.3512, allocations: 13.41 kB / 399.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.3513, allocations: 27.22 kB / 399.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3524, allocations: 406.8 kB / 399.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3526, allocations: 134 kB / 399.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.3526, allocations: 11.03 kB / 400 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.3527, allocations: 57.25 kB / 400 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.3528, allocations: 71.69 kB / 400.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.3528, allocations: 16.05 kB / 400.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008735/0.3537, allocations: 468.8 kB / 400.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.3538, allocations: 42.81 kB / 400.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.3538, allocations: 66 kB / 400.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.3546, allocations: 411.3 kB / 401.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3546, allocations: 0 / 401.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3546, allocations: 0 / 401.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3546, allocations: 3.938 kB / 401.1 MB, free: 6.43 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.0008879/0.3555, allocations: 458.1 kB / 401.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.3556, allocations: 13.27 kB / 401.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.211e-05/0.3556, allocations: 48.77 kB / 401.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.3559, allocations: 38.17 kB / 401.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3561, allocations: 151.7 kB / 401.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3561, allocations: 8.469 kB / 401.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3561, allocations: 11.58 kB / 401.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.3564, allocations: 139.4 kB / 401.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3564, allocations: 4 kB / 401.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3564, allocations: 5.062 kB / 401.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3564, allocations: 2.906 kB / 401.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.3567, allocations: 66.66 kB / 402 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.3574, allocations: 0.53 MB / 402.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.3577, allocations: 139.8 kB / 402.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3578, allocations: 63.67 kB / 402.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3578, allocations: 2.188 kB / 402.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.3581, allocations: 159.8 kB / 402.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.3581, allocations: 0 / 402.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006086/0.3587, allocations: 248.4 kB / 403.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3588, allocations: 113.7 kB / 403.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.359, allocations: 198.3 kB / 403.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.359, allocations: 43.12 kB / 403.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3591, allocations: 125.2 kB / 403.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.3591, allocations: 41.5 kB / 403.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.3592, allocations: 53.64 kB / 403.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.3593, allocations: 335.6 kB / 404 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.3595, allocations: 98.81 kB / 404.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3597, allocations: 151.3 kB / 404.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.3601, allocations: 223.1 kB / 404.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3601, allocations: 0 / 404.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005366/0.3606, allocations: 312.1 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3606, allocations: 5.781 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3606, allocations: 1.188 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3606, allocations: 3.156 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3608, allocations: 35.69 kB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3608, allocations: 2.781 kB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.3609, allocations: 28.44 kB / 404.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3609, allocations: 11.59 kB / 404.9 MB, free: 3.77 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.0001192/0.361, allocations: 155.7 kB / 405 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3611, allocations: 14.8 kB / 405 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.3611, allocations: 15.28 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3611, allocations: 2.391 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3611, allocations: 5.875 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3611, allocations: 4.594 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3613, allocations: 192.3 kB / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3613, allocations: 1.719 kB / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.3614, allocations: 14.2 kB / 405.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3614, allocations: 5.5 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3614, allocations: 2.609 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3614, allocations: 1.719 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3614, allocations: 1.719 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.3618, allocations: 239.9 kB / 405.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.3619, allocations: 15.61 kB / 405.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3619, allocations: 12.25 kB / 405.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.362, allocations: 6.797 kB / 405.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.3621, allocations: 19.16 kB / 405.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3621, allocations: 8.031 kB / 405.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3622, allocations: 141.1 kB / 405.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 4 kB / 405.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006138/0.3628, allocations: 129.5 kB / 405.8 MB, free: 3.113 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.001476/0.3643, allocations: 1.079 MB / 406.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.3647, allocations: 196.8 kB / 407.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3647, allocations: 0 / 407.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3649, allocations: 58.61 kB / 407.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.3651, allocations: 17.06 kB / 407.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.3677, allocations: 2.312 MB / 409.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3679, allocations: 0.7156 MB / 410.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.618e-05/0.368, allocations: 32.62 kB / 410.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.368, allocations: 48.47 kB / 410.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.368, allocations: 0 / 410.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.4055, allocations: 5.816 MB / 416.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.8, allocations: 9.453 kB / 416.1 MB, free: 13.12 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.551883667940274]