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.001337/0.001337, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001511/0.001511, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.523/1.523, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.00182/0.00182, allocations: 56.39 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3573, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002947/0.3603, allocations: 1.54 MB / 397.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.3629, allocations: 1.488 MB / 399.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.363, allocations: 1.125 kB / 399.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3631, allocations: 13.27 kB / 399.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.3632, allocations: 31.56 kB / 399.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3644, allocations: 402 kB / 399.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3646, allocations: 132 kB / 399.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.3647, allocations: 13.39 kB / 400 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.3647, allocations: 53.83 kB / 400 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.3648, allocations: 72.56 kB / 400.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3648, allocations: 11.84 kB / 400.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008437/0.3657, allocations: 480.8 kB / 400.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3658, allocations: 34.86 kB / 400.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.3658, allocations: 64.91 kB / 400.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.3665, allocations: 415.6 kB / 401.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3665, allocations: 0 / 401.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3665, allocations: 0 / 401.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3665, allocations: 1.125 kB / 401.1 MB, free: 6.234 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.0008246/0.3674, allocations: 456.2 kB / 401.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3674, allocations: 18.3 kB / 401.5 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.356e-05/0.3675, allocations: 39.67 kB / 401.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.3677, allocations: 35.09 kB / 401.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3679, allocations: 156 kB / 401.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3679, allocations: 8.375 kB / 401.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3679, allocations: 14.56 kB / 401.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.3682, allocations: 135.5 kB / 401.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3683, allocations: 5.156 kB / 401.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3683, allocations: 0.6094 kB / 401.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3683, allocations: 2.375 kB / 401.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.3685, allocations: 67.28 kB / 402 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.3692, allocations: 0.5405 MB / 402.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.3696, allocations: 147.4 kB / 402.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3697, allocations: 56.89 kB / 402.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3697, allocations: 2.703 kB / 402.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.3701, allocations: 155.1 kB / 402.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.3701, allocations: 1.312 kB / 402.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006483/0.3707, allocations: 248.2 kB / 403.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.3708, allocations: 117.2 kB / 403.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.371, allocations: 192 kB / 403.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.371, allocations: 48.86 kB / 403.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.3711, allocations: 114.3 kB / 403.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.3711, allocations: 47.55 kB / 403.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3712, allocations: 56.3 kB / 403.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.3713, allocations: 339.1 kB / 404 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3715, allocations: 104.4 kB / 404.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3718, allocations: 147.6 kB / 404.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.3722, allocations: 227.7 kB / 404.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3722, allocations: 0 / 404.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005793/0.3727, allocations: 304.2 kB / 404.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3728, allocations: 7.141 kB / 404.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3728, allocations: 0 / 404.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3728, allocations: 2.469 kB / 404.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.373, allocations: 33.44 kB / 404.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.373, allocations: 1.594 kB / 404.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.3731, allocations: 28.88 kB / 404.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3731, allocations: 7.391 kB / 404.9 MB, free: 3.578 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.0001262/0.3732, allocations: 159.2 kB / 405 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3732, allocations: 16.17 kB / 405 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.3733, allocations: 15 kB / 405 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.3733, allocations: 2.25 kB / 405 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3733, allocations: 0.7031 kB / 405 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3733, allocations: 5 kB / 405.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3735, allocations: 191.7 kB / 405.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3735, allocations: 5.281 kB / 405.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.3735, allocations: 15.7 kB / 405.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3735, allocations: 1.156 kB / 405.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3735, allocations: 6.875 kB / 405.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.3736, allocations: 1.828 kB / 405.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3736, allocations: 5.062 kB / 405.3 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.3739, allocations: 237.6 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.374, allocations: 18.91 kB / 405.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.374, allocations: 7.203 kB / 405.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.3741, allocations: 10.88 kB / 405.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.3741, allocations: 19.66 kB / 405.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3741, allocations: 4.641 kB / 405.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3743, allocations: 143.9 kB / 405.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3743, allocations: 4 kB / 405.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006299/0.3749, allocations: 126.5 kB / 405.8 MB, free: 2.918 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.001585/0.3765, allocations: 1.079 MB / 406.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.377, allocations: 188.6 kB / 407.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.377, allocations: 1.125 kB / 407.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3771, allocations: 62.14 kB / 407.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.3773, allocations: 17.78 kB / 407.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.38, allocations: 2.311 MB / 409.5 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3803, allocations: 0.7234 MB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.237e-05/0.3804, allocations: 20.95 kB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.3805, allocations: 45.47 kB / 410.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3805, allocations: 0 / 410.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4175, allocations: 5.824 MB / 416.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 5.016 kB / 416.1 MB, free: 12.96 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 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.csv","/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.745463121995272]