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.002112/0.002112, allocations: 107.6 kB / 21.18 MB, free: 452 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.003128/0.003128, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.587/1.587, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.002076/0.002076, allocations: 54.73 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3035, allocations: 49.15 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003092/0.3066, allocations: 1.513 MB / 397.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.3091, allocations: 1.368 MB / 399.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.3092, allocations: 1.438 kB / 399.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3093, allocations: 13.03 kB / 399.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3094, allocations: 30.34 kB / 399.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3107, allocations: 399 kB / 399.7 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3109, allocations: 139.5 kB / 399.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.311, allocations: 6.953 kB / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.311, allocations: 57 kB / 399.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.3111, allocations: 69.06 kB / 399.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.3112, allocations: 15.31 kB / 399.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007992/0.312, allocations: 441.6 kB / 400.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.312, allocations: 35.12 kB / 400.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.3121, allocations: 49.89 kB / 400.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.3128, allocations: 416.2 kB / 400.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3128, allocations: 0 / 400.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3128, allocations: 7.875 kB / 400.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3128, allocations: 5.156 kB / 400.9 MB, free: 6.328 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.0007515/0.3135, allocations: 455.4 kB / 401.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3136, allocations: 13.55 kB / 401.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.3136, allocations: 40.11 kB / 401.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.3139, allocations: 38.05 kB / 401.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.314, allocations: 147.7 kB / 401.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.314, allocations: 6.078 kB / 401.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.3141, allocations: 15.52 kB / 401.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.3144, allocations: 135.3 kB / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3144, allocations: 0 / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3144, allocations: 1.641 kB / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3144, allocations: 1.062 kB / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3146, allocations: 72.28 kB / 401.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007514/0.3154, allocations: 0.5031 MB / 402.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.3158, allocations: 144.6 kB / 402.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.3159, allocations: 66.16 kB / 402.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.316, allocations: 1.344 kB / 402.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.3164, allocations: 157.4 kB / 402.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.3164, allocations: 0 / 402.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006776/0.3171, allocations: 247.1 kB / 402.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.3171, allocations: 119.7 kB / 403 MB, free: 4.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3174, allocations: 196.9 kB / 403.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.3174, allocations: 48.27 kB / 403.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.3175, allocations: 114.8 kB / 403.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.3176, allocations: 44.03 kB / 403.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3177, allocations: 60.38 kB / 403.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3178, allocations: 334.2 kB / 403.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.318, allocations: 99.97 kB / 403.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.3183, allocations: 148.2 kB / 404 MB, free: 3.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.3187, allocations: 227.3 kB / 404.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3187, allocations: 0 / 404.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006118/0.3193, allocations: 304.5 kB / 404.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.3194, allocations: 4.5 kB / 404.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3194, allocations: 6.344 kB / 404.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.3194, allocations: 10.95 kB / 404.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.3196, allocations: 31.38 kB / 404.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3196, allocations: 3.406 kB / 404.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3197, allocations: 27.45 kB / 404.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3197, allocations: 15.47 kB / 404.6 MB, free: 3.688 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.0001664/0.3199, allocations: 144.8 kB / 404.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.3199, allocations: 19.06 kB / 404.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.32, allocations: 22.98 kB / 404.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.32, allocations: 6 kB / 404.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.32, allocations: 1.094 kB / 404.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.32, allocations: 5.922 kB / 404.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.3203, allocations: 176.9 kB / 405 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3203, allocations: 0 / 405 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.3203, allocations: 11.58 kB / 405 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3203, allocations: 1.875 kB / 405 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3203, allocations: 2.422 kB / 405 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3204, allocations: 2.641 kB / 405 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3204, allocations: 4.875 kB / 405 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.3208, allocations: 242.2 kB / 405.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3209, allocations: 18.33 kB / 405.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.3209, allocations: 8.953 kB / 405.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.321, allocations: 6.531 kB / 405.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.3211, allocations: 20.19 kB / 405.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3211, allocations: 4.453 kB / 405.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3212, allocations: 144.5 kB / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3212, allocations: 4 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000732/0.322, allocations: 126.1 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.001552/0.3235, allocations: 1.094 MB / 406.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.324, allocations: 201.6 kB / 406.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.324, allocations: 0 / 406.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3241, allocations: 58.42 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.0002624/0.3244, allocations: 17.19 kB / 407 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.3275, allocations: 2.316 MB / 409.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.967e-05/0.3276, allocations: 104.2 kB / 409.4 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.086e-05/0.3277, allocations: 23.41 kB / 409.4 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3278, allocations: 52.88 kB / 409.4 MB, free: 444 kB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3278, allocations: 1.281 kB / 409.4 MB, free: 444 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.3661, allocations: 6.272 MB / 415.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.16, allocations: 1.25 kB / 415.7 MB, free: 13.22 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.920311225112528]