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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 98.02 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.001155/0.001155, allocations: 182.9 kB / 17.84 MB, free: 6.004 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.799/1.799, 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.0005751/0.0005751, allocations: 12 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 47.58 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002989/0.1269, allocations: 1.513 MB / 330 MB, free: 2.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1294, allocations: 0.9402 MB / 330.9 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.1297, allocations: 0 / 330.9 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1299, allocations: 15.8 kB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1303, allocations: 23.84 kB / 330.9 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.1312, allocations: 143.7 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.1316, allocations: 199.5 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1318, allocations: 52 kB / 331.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.132, allocations: 79.67 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1322, allocations: 95.52 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1323, allocations: 12 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.1326, allocations: 111.9 kB / 331.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.1327, allocations: 43.83 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.1328, allocations: 57.58 kB / 331.7 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.1331, allocations: 203.8 kB / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1332, allocations: 0 / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1332, allocations: 7.938 kB / 331.9 MB, free: 476 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1332, allocations: 0 / 331.9 MB, free: 476 kB / 270.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.001326/0.1345, allocations: 0.5466 MB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.1346, allocations: 12.03 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.1347, allocations: 50.55 kB / 332.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.135, allocations: 35.7 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.1354, allocations: 247.4 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.1354, allocations: 12 kB / 332.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.1355, allocations: 20 kB / 332.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.1361, allocations: 218.4 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1361, allocations: 0 / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1362, allocations: 12 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.1362, allocations: 8 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.1367, allocations: 184 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.138, allocations: 0.5903 MB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.139, allocations: 374.9 kB / 334.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.1394, allocations: 140.8 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1394, allocations: 8.062 kB / 334.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.1398, allocations: 187.8 kB / 334.5 MB, free: 13.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.1398, allocations: 0 / 334.5 MB, free: 13.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001037/0.1409, allocations: 407.8 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.141, allocations: 67.33 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1413, allocations: 207.8 kB / 335.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.1413, allocations: 37.7 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1414, allocations: 128.5 kB / 335.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.1415, allocations: 74.98 kB / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.1415, allocations: 8 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1417, allocations: 338.8 kB / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.142, allocations: 147.9 kB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.1424, allocations: 181.6 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.1428, allocations: 158.5 kB / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1428, allocations: 0 / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008459/0.1437, allocations: 412.8 kB / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1437, allocations: 4 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1437, allocations: 3.984 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1438, allocations: 4 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.1441, allocations: 79.83 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1441, allocations: 4 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1443, allocations: 59.59 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.1443, allocations: 8 kB / 336.8 MB, free: 11.33 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.0001748/0.1445, allocations: 146.1 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1446, allocations: 23.72 kB / 337 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.1446, allocations: 21.88 kB / 337 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1447, allocations: 4 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.1447, allocations: 3.984 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1447, allocations: 3.984 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.1459, allocations: 0.6699 MB / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.146, allocations: 0 / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.1462, allocations: 59.95 kB / 337.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1462, allocations: 0 / 337.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.1463, allocations: 7.984 kB / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1463, allocations: 0 / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1463, allocations: 0 / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1474, allocations: 0.5494 MB / 338.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.1475, allocations: 88.92 kB / 338.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.1475, allocations: 12.05 kB / 338.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1477, allocations: 31.98 kB / 338.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.1478, allocations: 15.97 kB / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1478, allocations: 4 kB / 338.5 MB, free: 9.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.148, allocations: 155.2 kB / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.148, allocations: 0 / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004463/0.1485, allocations: 71.84 kB / 338.7 MB, free: 9.371 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.001962/0.1504, allocations: 1.203 MB / 339.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.1512, allocations: 320.1 kB / 340.2 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1513, allocations: 0 / 340.2 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.1516, allocations: 139.9 kB / 340.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.152, allocations: 23.94 kB / 340.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.1549, allocations: 1.606 MB / 342 MB, free: 6.027 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1553, allocations: 0.744 MB / 342.7 MB, free: 5.258 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.1555, allocations: 33.94 kB / 342.7 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1556, allocations: 67.41 kB / 342.8 MB, free: 5.156 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1556, allocations: 3.938 kB / 342.8 MB, free: 5.152 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.1742, allocations: 4.997 MB / 347.8 MB, free: 152 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.1744, allocations: 235.2 kB / 348 MB, free: 15.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.32, allocations: 0 / 348 MB, free: 15.91 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat