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.001348/0.001348, allocations: 118 kB / 18.45 MB, free: 4.566 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.001497/0.001497, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.646/1.646, allocations: 207.6 MB / 231.8 MB, free: 4.039 MB / 174.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.001733/0.001733, allocations: 47.94 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09826, allocations: 49.13 MB / 391.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002844/0.1011, allocations: 1.528 MB / 392.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1036, allocations: 1.471 MB / 394.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.1037, allocations: 0 / 394.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.45e-05/0.1038, allocations: 19.73 kB / 394.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.1038, allocations: 23.8 kB / 394.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1049, allocations: 394.8 kB / 394.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1051, allocations: 135.6 kB / 395 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.1051, allocations: 5.5 kB / 395 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.1052, allocations: 55.77 kB / 395 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.1053, allocations: 75.61 kB / 395.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1053, allocations: 12 kB / 395.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006744/0.106, allocations: 443.2 kB / 395.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.106, allocations: 35.89 kB / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.1061, allocations: 63.59 kB / 395.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.1067, allocations: 414.6 kB / 396.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1067, allocations: 4 kB / 396.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1067, allocations: 0 / 396.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1067, allocations: 0 / 396.1 MB, free: 4.02 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.0008432/0.1076, allocations: 0.5252 MB / 396.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1076, allocations: 8.031 kB / 396.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.1077, allocations: 42.75 kB / 396.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.1079, allocations: 32.78 kB / 396.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1081, allocations: 201 kB / 396.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.1081, allocations: 8.375 kB / 396.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1081, allocations: 20.23 kB / 396.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1084, allocations: 128.3 kB / 397 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1084, allocations: 4 kB / 397 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1085, allocations: 7.938 kB / 397 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1085, allocations: 3.984 kB / 397 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.1087, allocations: 67.89 kB / 397.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.1095, allocations: 0.5634 MB / 397.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.1099, allocations: 139.7 kB / 397.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.11, allocations: 62.61 kB / 397.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.11, allocations: 4 kB / 397.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.1104, allocations: 153.8 kB / 398 MB, free: 1.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1104, allocations: 4 kB / 398 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006377/0.111, allocations: 249.9 kB / 398.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.1111, allocations: 114.8 kB / 398.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1113, allocations: 199.1 kB / 398.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.1114, allocations: 45.7 kB / 398.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1115, allocations: 120.6 kB / 398.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.1115, allocations: 43.64 kB / 398.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1116, allocations: 61.69 kB / 398.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1118, allocations: 334.8 kB / 399.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.112, allocations: 103.9 kB / 399.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1122, allocations: 147 kB / 399.4 MB, free: 376 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.1126, allocations: 227.7 kB / 399.6 MB, free: 136 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1126, allocations: 0 / 399.6 MB, free: 136 kB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006274/0.1133, allocations: 313.4 kB / 399.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1133, allocations: 4 kB / 399.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1133, allocations: 4 kB / 399.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1133, allocations: 0 / 399.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1135, allocations: 39.91 kB / 400 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1135, allocations: 0 / 400 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.1136, allocations: 27.78 kB / 400 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1136, allocations: 12 kB / 400 MB, free: 15.73 MB / 334.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.0001495/0.1138, allocations: 149.8 kB / 400.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1138, allocations: 15.91 kB / 400.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.1138, allocations: 21.39 kB / 400.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1138, allocations: 0 / 400.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1138, allocations: 4 kB / 400.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1138, allocations: 3.938 kB / 400.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1141, allocations: 213.6 kB / 400.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1141, allocations: 0 / 400.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.1141, allocations: 19.97 kB / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1141, allocations: 4 kB / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1141, allocations: 0 / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.1142, allocations: 11.92 kB / 400.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1142, allocations: 0 / 400.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.1146, allocations: 234.6 kB / 400.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1146, allocations: 96.95 kB / 400.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1147, allocations: 11.98 kB / 400.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1147, allocations: 7.938 kB / 400.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.1148, allocations: 23.91 kB / 400.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1148, allocations: 4 kB / 400.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1149, allocations: 137.2 kB / 401 MB, free: 14.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1149, allocations: 0 / 401 MB, free: 14.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000465/0.1154, allocations: 131.6 kB / 401.1 MB, free: 14.56 MB / 334.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.001686/0.1171, allocations: 1.086 MB / 402.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.1176, allocations: 187.8 kB / 402.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1176, allocations: 0 / 402.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1178, allocations: 59.91 kB / 402.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1179, allocations: 16.14 kB / 402.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.121, allocations: 2.327 MB / 404.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1214, allocations: 0.7162 MB / 405.5 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.528e-05/0.1214, allocations: 25.41 kB / 405.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.1215, allocations: 43.42 kB / 405.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1215, allocations: 0 / 405.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.1497, allocations: 5.637 MB / 411.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.239, allocations: 3.984 kB / 411.2 MB, free: 4.246 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.959646584989969]