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.001254/0.001254, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006437/0.006437, allocations: 163.4 kB / 24.69 MB, free: 9.41 MB / 18.57 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 0.8653/0.8653, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.859e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002187/0.002206, allocations: 1.499 MB / 299.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.003923, allocations: 1.365 MB / 301.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.003987, allocations: 0 / 301.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.347e-05/0.00408, allocations: 11.81 kB / 301.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.004161, allocations: 31.72 kB / 301.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009433/0.005104, allocations: 406.5 kB / 301.8 MB, free: 172 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.005255, allocations: 135.5 kB / 301.9 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.005299, allocations: 9.672 kB / 301.9 MB, free: 24 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1478/0.1531, allocations: 71.95 kB / 302 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.1532, allocations: 52.95 kB / 302 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1533, allocations: 11.5 kB / 302 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.1541, allocations: 443.1 kB / 302.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.1541, allocations: 41.58 kB / 302.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.1542, allocations: 42.94 kB / 302.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.1548, allocations: 470.9 kB / 303 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1548, allocations: 3.875 kB / 303 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1548, allocations: 3.531 kB / 303 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1548, allocations: 0 / 303 MB, free: 13.18 MB / 282.7 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.0005732/0.1553, allocations: 453.8 kB / 303.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1554, allocations: 14.58 kB / 303.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.1554, allocations: 45.45 kB / 303.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1556, allocations: 34.75 kB / 303.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1557, allocations: 141.6 kB / 303.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1557, allocations: 11.8 kB / 303.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1557, allocations: 9.828 kB / 303.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1559, allocations: 135.3 kB / 303.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1559, allocations: 1.469 kB / 303.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1559, allocations: 5.406 kB / 303.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1559, allocations: 5.094 kB / 303.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1561, allocations: 68.92 kB / 303.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.1566, allocations: 0.5041 MB / 304.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1568, allocations: 149.7 kB / 304.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.1569, allocations: 56.03 kB / 304.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1569, allocations: 5.953 kB / 304.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.1572, allocations: 159.8 kB / 304.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.1572, allocations: 0 / 304.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004378/0.1576, allocations: 248.3 kB / 305 MB, free: 11.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.1577, allocations: 123.4 kB / 305.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1578, allocations: 200.8 kB / 305.3 MB, free: 11.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1578, allocations: 42.47 kB / 305.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.1579, allocations: 118.6 kB / 305.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1579, allocations: 47.3 kB / 305.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.158, allocations: 61.66 kB / 305.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.158, allocations: 334.9 kB / 305.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1582, allocations: 99.22 kB / 306 MB, free: 11.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1583, allocations: 137 kB / 306.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1586, allocations: 230.1 kB / 306.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1586, allocations: 0 / 306.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003811/0.159, allocations: 314.5 kB / 306.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.159, allocations: 4.656 kB / 306.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.159, allocations: 1 kB / 306.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.159, allocations: 7.031 kB / 306.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1592, allocations: 32.12 kB / 306.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1592, allocations: 3.422 kB / 306.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.1592, allocations: 24.94 kB / 306.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1592, allocations: 8.078 kB / 306.8 MB, free: 11.11 MB / 282.7 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.0001129/0.1593, allocations: 149.8 kB / 306.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1594, allocations: 18.86 kB / 306.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.1594, allocations: 20.33 kB / 307 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1594, allocations: 6.641 kB / 307 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1594, allocations: 1.094 kB / 307 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1594, allocations: 1.547 kB / 307 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.1596, allocations: 180.2 kB / 307.1 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1596, allocations: 1.438 kB / 307.1 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1596, allocations: 10.3 kB / 307.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1596, allocations: 1.312 kB / 307.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1596, allocations: 7.219 kB / 307.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1596, allocations: 2.453 kB / 307.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1596, allocations: 0 / 307.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1599, allocations: 251.7 kB / 307.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1599, allocations: 18.17 kB / 307.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1599, allocations: 14.22 kB / 307.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.602e-05/0.16, allocations: 6.141 kB / 307.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.16, allocations: 15.2 kB / 307.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.16, allocations: 4.969 kB / 307.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.1601, allocations: 144.4 kB / 307.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1601, allocations: 0 / 307.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.1605, allocations: 131.3 kB / 307.7 MB, free: 10.52 MB / 282.7 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.00122/0.1617, allocations: 1.118 MB / 308.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.162, allocations: 184.4 kB / 309 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1621, allocations: 192 / 309 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1622, allocations: 59.55 kB / 309.1 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.1623, allocations: 9.25 kB / 309.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1642, allocations: 2.343 MB / 311.4 MB, free: 8.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.515e-05/0.1643, allocations: 107.7 kB / 311.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.1644, allocations: 24.61 kB / 311.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.1645, allocations: 50.59 kB / 311.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1645, allocations: 3.938 kB / 311.6 MB, free: 7.969 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.1854, allocations: 6.449 MB / 318.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.3, allocations: 6.094 kB / 318.1 MB, free: 5.984 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins/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: 9.043495323508978]