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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008407, allocations: 95.45 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 181.9 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006625, allocations: 12 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1472, allocations: 47.58 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002879/0.1502, allocations: 1.509 MB / 330 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1531, allocations: 1.186 MB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1532, allocations: 0 / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1534, allocations: 19.8 kB / 331.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1535, allocations: 19.86 kB / 331.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1545, allocations: 251.4 kB / 331.4 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1548, allocations: 191.5 kB / 331.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.155, allocations: 64.03 kB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.1551, allocations: 71.69 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1552, allocations: 103.5 kB / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.1553, allocations: 8 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005506/0.1558, allocations: 291.5 kB / 332.1 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1559, allocations: 43.81 kB / 332.2 MB, free: 204 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.156, allocations: 49.64 kB / 332.2 MB, free: 148 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.1563, allocations: 279.7 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1564, allocations: 0 / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1564, allocations: 0 / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1564, allocations: 0 / 332.5 MB, free: 15.87 MB / 286.1 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.001114/0.1575, allocations: 0.5622 MB / 333.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1576, allocations: 8.031 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.1577, allocations: 58.48 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1579, allocations: 35.7 kB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1583, allocations: 239.5 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1583, allocations: 12 kB / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.1584, allocations: 20 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.1589, allocations: 218.4 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1589, allocations: 0 / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.159, allocations: 12 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.159, allocations: 4 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.1595, allocations: 188 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1607, allocations: 0.5981 MB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.1618, allocations: 374.8 kB / 334.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.1622, allocations: 136.9 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1622, allocations: 8 kB / 335 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.1626, allocations: 179.8 kB / 335.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.1626, allocations: 0 / 335.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001012/0.1637, allocations: 423.7 kB / 335.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1637, allocations: 59.41 kB / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.164, allocations: 203.8 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.164, allocations: 41.69 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1641, allocations: 132.6 kB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.1642, allocations: 78.94 kB / 336.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.1642, allocations: 4 kB / 336.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1644, allocations: 334.8 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.1647, allocations: 147.9 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.1651, allocations: 181.6 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1655, allocations: 154.6 kB / 336.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1655, allocations: 0 / 336.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008302/0.1664, allocations: 416.8 kB / 337.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1664, allocations: 7.938 kB / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1664, allocations: 0 / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.1664, allocations: 4 kB / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1668, allocations: 83.88 kB / 337.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.1668, allocations: 4 kB / 337.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.167, allocations: 55.66 kB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.167, allocations: 12 kB / 337.4 MB, free: 10.71 MB / 286.1 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.1672, allocations: 142.1 kB / 337.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.1673, allocations: 19.72 kB / 337.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.1674, allocations: 21.88 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1674, allocations: 4 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1674, allocations: 7.984 kB / 337.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1674, allocations: 0 / 337.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1687, allocations: 0.6738 MB / 338.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1687, allocations: 0 / 338.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.169, allocations: 55.97 kB / 338.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.169, allocations: 0 / 338.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.1691, allocations: 7.984 kB / 338.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1691, allocations: 0 / 338.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1691, allocations: 0 / 338.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1702, allocations: 0.5505 MB / 338.9 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.1703, allocations: 88.92 kB / 339 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.1703, allocations: 8.062 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1705, allocations: 31.97 kB / 339 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.1706, allocations: 15.98 kB / 339 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.1707, allocations: 12.09 kB / 339.1 MB, free: 8.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1708, allocations: 147.2 kB / 339.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1708, allocations: 0 / 339.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005351/0.1714, allocations: 111.8 kB / 339.3 MB, free: 8.727 MB / 286.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002186/0.1736, allocations: 1.256 MB / 340.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008015/0.1744, allocations: 323.2 kB / 340.9 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1744, allocations: 0 / 340.9 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.1748, allocations: 135.9 kB / 341 MB, free: 7.008 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1751, allocations: 23.98 kB / 341 MB, free: 6.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.1785, allocations: 1.621 MB / 342.7 MB, free: 5.316 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.179, allocations: 0.7362 MB / 343.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.1792, allocations: 33.94 kB / 343.4 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.1794, allocations: 67.41 kB / 343.5 MB, free: 4.453 MB / 286.1 MB Notification: Performance of SimCode: time 1.303e-06/0.1794, allocations: 0 / 343.5 MB, free: 4.453 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.2016, allocations: 5.722 MB / 349.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.202, allocations: 234.1 kB / 349.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.393, allocations: 0 / 349.4 MB, free: 14.48 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat