Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.001293/0.001293, allocations: 83.64 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.008034/0.008034, allocations: 163.9 kB / 24.69 MB, free: 9.434 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.8935/0.8935, 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.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/4.079e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004486/0.004527, allocations: 1.77 MB / 300.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.006489, allocations: 0.9712 MB / 301.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.006593, allocations: 0 / 301.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.00672, allocations: 23.73 kB / 301.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.006919, allocations: 39.64 kB / 301.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.007542, allocations: 195.3 kB / 301.5 MB, free: 484 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.007757, allocations: 227.4 kB / 301.7 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.007889, allocations: 44.55 kB / 301.7 MB, free: 216 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.008013, allocations: 139.6 kB / 301.9 MB, free: 76 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1438/0.1518, allocations: 84.61 kB / 301.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.1519, allocations: 21.94 kB / 302 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.1524, allocations: 166.8 kB / 302.1 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.1525, allocations: 62.69 kB / 302.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1526, allocations: 71.09 kB / 302.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.1531, allocations: 337.7 kB / 302.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1531, allocations: 0 / 302.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1531, allocations: 3.469 kB / 302.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1531, allocations: 1.844 kB / 302.6 MB, free: 13.31 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.0009029/0.154, allocations: 493.5 kB / 303.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1541, allocations: 13.14 kB / 303.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.1541, allocations: 57.47 kB / 303.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1543, allocations: 38.02 kB / 303.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1545, allocations: 183.6 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1545, allocations: 13.84 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.1546, allocations: 22.75 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1549, allocations: 199 kB / 303.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1549, allocations: 2.422 kB / 303.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1549, allocations: 7.938 kB / 303.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.1549, allocations: 8.219 kB / 303.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.1552, allocations: 155.9 kB / 303.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.156, allocations: 0.503 MB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.1567, allocations: 298.5 kB / 304.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.1569, allocations: 113.9 kB / 304.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1569, allocations: 2.938 kB / 304.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.1572, allocations: 171.3 kB / 304.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.575e-06/0.1573, allocations: 0 / 304.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007077/0.158, allocations: 357.8 kB / 305.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.158, allocations: 62.03 kB / 305.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1582, allocations: 216.8 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1582, allocations: 39.33 kB / 305.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.1583, allocations: 133.6 kB / 305.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1583, allocations: 79.3 kB / 305.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.1584, allocations: 65.61 kB / 305.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.1584, allocations: 333.3 kB / 306.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.1587, allocations: 137.1 kB / 306.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.1589, allocations: 168.6 kB / 306.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1593, allocations: 261 kB / 306.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1593, allocations: 1.562 kB / 306.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000532/0.1598, allocations: 385.3 kB / 307 MB, free: 11.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1599, allocations: 5.719 kB / 307 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1599, allocations: 0 / 307 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1599, allocations: 4.188 kB / 307 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1601, allocations: 73.06 kB / 307.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1601, allocations: 3.062 kB / 307.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.1602, allocations: 37.39 kB / 307.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1602, allocations: 17.12 kB / 307.2 MB, free: 11.39 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.0001164/0.1603, allocations: 143.7 kB / 307.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1604, allocations: 32.25 kB / 307.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.1604, allocations: 25.47 kB / 307.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1604, allocations: 1.125 kB / 307.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1604, allocations: 5.25 kB / 307.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1604, allocations: 1.172 kB / 307.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007605/0.1612, allocations: 0.5777 MB / 307.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1612, allocations: 5.344 kB / 307.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1613, allocations: 40.94 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1613, allocations: 1.125 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1613, allocations: 8.172 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1613, allocations: 1.219 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1613, allocations: 0.7031 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.162, allocations: 492.4 kB / 308.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.162, allocations: 22.95 kB / 308.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.162, allocations: 12.66 kB / 308.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.1621, allocations: 18.58 kB / 308.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1622, allocations: 19.36 kB / 308.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1622, allocations: 6.281 kB / 308.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1623, allocations: 149.9 kB / 308.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1623, allocations: 0 / 308.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000329/0.1626, allocations: 73.77 kB / 308.8 MB, free: 10.47 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.00113/0.1637, allocations: 1.142 MB / 309.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.1643, allocations: 268.3 kB / 310.2 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1643, allocations: 1.125 kB / 310.2 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.1645, allocations: 106.6 kB / 310.3 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1647, allocations: 31.78 kB / 310.3 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.1677, allocations: 2.817 MB / 313.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.1678, allocations: 135.9 kB / 313.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.1679, allocations: 31.67 kB / 313.3 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.168, allocations: 69.12 kB / 313.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.168, allocations: 0 / 313.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1918, allocations: 6.35 MB / 319.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.501, allocations: 9.109 kB / 319.7 MB, free: 5.332 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.321125026792288] 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.586776269599795 7.595095706 7.440092474 Calling exit ...