Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.000885/0.000885, allocations: 87.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.005131/0.005131, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.9423/0.9423, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.41e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002278/0.002302, allocations: 1.782 MB / 300.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.003903, allocations: 1.209 MB / 301.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.003988, allocations: 0 / 301.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.004102, allocations: 19.73 kB / 301.5 MB, free: 468 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.004183, allocations: 31.67 kB / 301.5 MB, free: 436 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/0.005061, allocations: 326.8 kB / 301.8 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1462/0.1513, allocations: 219.5 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.1515, allocations: 44.44 kB / 302.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1518, allocations: 138.5 kB / 302.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1519, allocations: 85.02 kB / 302.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.152, allocations: 22.97 kB / 302.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.1526, allocations: 341.9 kB / 302.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.1527, allocations: 59.3 kB / 302.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.1527, allocations: 66.41 kB / 302.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.1534, allocations: 455.8 kB / 303.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1534, allocations: 0 / 303.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1534, allocations: 0 / 303.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1534, allocations: 1.312 kB / 303.2 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009879/0.1544, allocations: 0.5011 MB / 303.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1544, allocations: 13.8 kB / 303.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.431e-05/0.1545, allocations: 56.73 kB / 303.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.1547, allocations: 35.41 kB / 303.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1549, allocations: 179.3 kB / 304 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1549, allocations: 20.22 kB / 304 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1549, allocations: 20.84 kB / 304 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.1553, allocations: 201.6 kB / 304.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1553, allocations: 1.844 kB / 304.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1553, allocations: 5.469 kB / 304.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1553, allocations: 7.25 kB / 304.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.1556, allocations: 161 kB / 304.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.1563, allocations: 0.5021 MB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.1569, allocations: 300.5 kB / 305.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.1571, allocations: 114.5 kB / 305.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1571, allocations: 2.188 kB / 305.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.1574, allocations: 174.2 kB / 305.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1574, allocations: 0 / 305.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006485/0.1581, allocations: 360.7 kB / 305.8 MB, free: 12.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1581, allocations: 58.41 kB / 305.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1582, allocations: 217.7 kB / 306.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1583, allocations: 39.2 kB / 306.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.1583, allocations: 128.3 kB / 306.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1584, allocations: 76.98 kB / 306.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.1585, allocations: 69.34 kB / 306.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.1585, allocations: 333 kB / 306.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.1587, allocations: 133.3 kB / 306.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.1589, allocations: 167.8 kB / 307 MB, free: 11.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.1593, allocations: 268.4 kB / 307.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1593, allocations: 0 / 307.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005181/0.1598, allocations: 381.9 kB / 307.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1598, allocations: 6.906 kB / 307.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1599, allocations: 1.562 kB / 307.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1599, allocations: 6.25 kB / 307.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1601, allocations: 78.17 kB / 307.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1601, allocations: 2.438 kB / 307.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.1602, allocations: 38.47 kB / 307.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1602, allocations: 12.5 kB / 307.8 MB, free: 11.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001012/0.1603, allocations: 147.4 kB / 308 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1603, allocations: 27.17 kB / 308 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1604, allocations: 24.91 kB / 308 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1604, allocations: 1.469 kB / 308 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001836/0.1605, allocations: 0.9375 kB / 308 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1605, allocations: 2.375 kB / 308 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.1613, allocations: 0.5773 MB / 308.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1613, allocations: 3.938 kB / 308.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1614, allocations: 42.41 kB / 308.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1614, allocations: 5.344 kB / 308.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1614, allocations: 8.438 kB / 308.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1614, allocations: 0 / 308.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1614, allocations: 1.562 kB / 308.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.162, allocations: 490.6 kB / 309.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.1621, allocations: 28.14 kB / 309.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1621, allocations: 8.312 kB / 309.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.1622, allocations: 17.34 kB / 309.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1622, allocations: 20.02 kB / 309.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1622, allocations: 7.125 kB / 309.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.653e-05/0.1623, allocations: 148.7 kB / 309.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1623, allocations: 5.156 kB / 309.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.1628, allocations: 103.9 kB / 309.5 MB, free: 10.13 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001243/0.164, allocations: 1.224 MB / 310.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.1646, allocations: 266 kB / 310.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1646, allocations: 4.062 kB / 310.9 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1648, allocations: 106.2 kB / 311.1 MB, free: 9.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.165, allocations: 31.56 kB / 311.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.1679, allocations: 2.819 MB / 313.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.1681, allocations: 134.7 kB / 314 MB, free: 7.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1682, allocations: 34.8 kB / 314.1 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1683, allocations: 73.88 kB / 314.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1683, allocations: 0 / 314.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.1945, allocations: 7.084 MB / 321.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.217, allocations: 5.312 kB / 321.2 MB, free: 4.441 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.04379933513701] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.mu', 'standardDeviation.variance.mu', 'standardDeviation.variance.var', 'variance.mu', 'variance.var', 'meanError_y', 'sigmaError_y'] 7.304199964739382 7.318290299 7.16238903 Calling exit ...