Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.001334/0.001334, allocations: 114.3 kB / 17.28 MB, free: 6.219 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.001304/0.001304, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.1 MB / 224 MB, free: 12.45 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.001318/0.001318, allocations: 60.61 kB / 280.3 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00362/0.1395, allocations: 1.56 MB / 328.4 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1409, allocations: 0.5741 MB / 329 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.141, allocations: 4 kB / 329 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.1411, allocations: 3.938 kB / 329 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.1412, allocations: 19.8 kB / 329 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.1417, allocations: 127.8 kB / 329.2 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1419, allocations: 123.6 kB / 329.3 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.1419, allocations: 5.125 kB / 329.3 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.142, allocations: 51.83 kB / 329.3 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.1421, allocations: 55.75 kB / 329.4 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1421, allocations: 12 kB / 329.4 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1424, allocations: 123.8 kB / 329.5 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1424, allocations: 35.84 kB / 329.6 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.1425, allocations: 51.73 kB / 329.6 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1428, allocations: 215.6 kB / 329.8 MB, free: 1.734 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1429, allocations: 0 / 329.8 MB, free: 1.734 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1429, allocations: 0 / 329.8 MB, free: 1.734 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1429, allocations: 4 kB / 329.8 MB, free: 1.73 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008342/0.1437, allocations: 458.8 kB / 330.3 MB, free: 1.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.1438, allocations: 8.031 kB / 330.3 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.972e-05/0.1439, allocations: 42.69 kB / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.1443, allocations: 40.72 kB / 330.4 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1445, allocations: 208 kB / 330.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1445, allocations: 384 / 330.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1446, allocations: 12.38 kB / 330.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.1449, allocations: 119.8 kB / 330.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1449, allocations: 3.938 kB / 330.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1449, allocations: 3.984 kB / 330.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1449, allocations: 4 kB / 330.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1451, allocations: 55.95 kB / 330.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.1459, allocations: 456.8 kB / 331.2 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.1463, allocations: 133.2 kB / 331.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1464, allocations: 53.75 kB / 331.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1464, allocations: 3.938 kB / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.1468, allocations: 145 kB / 331.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.1468, allocations: 4 kB / 331.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005848/0.1474, allocations: 229.4 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.1475, allocations: 93.09 kB / 331.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1477, allocations: 174.4 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.1477, allocations: 49.69 kB / 332.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.1478, allocations: 104.5 kB / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1479, allocations: 39.55 kB / 332.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.148, allocations: 65.92 kB / 332.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1482, allocations: 330.8 kB / 332.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1484, allocations: 100.4 kB / 332.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1486, allocations: 135.5 kB / 332.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.149, allocations: 210.9 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.149, allocations: 0 / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004999/0.1495, allocations: 297.2 kB / 333.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1495, allocations: 4 kB / 333.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1495, allocations: 4 kB / 333.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1495, allocations: 0 / 333.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.1497, allocations: 31.98 kB / 333.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1497, allocations: 4 kB / 333.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.1498, allocations: 19.83 kB / 333.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1498, allocations: 12 kB / 333.4 MB, free: 13.86 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001658/0.15, allocations: 145.7 kB / 333.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.15, allocations: 11.81 kB / 333.6 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1501, allocations: 13.41 kB / 333.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1501, allocations: 8.094 kB / 333.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1501, allocations: 7.984 kB / 333.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1501, allocations: 3.984 kB / 333.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.1504, allocations: 201.5 kB / 333.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1504, allocations: 4 kB / 333.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1504, allocations: 15.92 kB / 333.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1505, allocations: 0 / 333.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1505, allocations: 4 kB / 333.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1505, allocations: 0 / 333.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1505, allocations: 3.938 kB / 333.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.1509, allocations: 233.5 kB / 334 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.151, allocations: 88.92 kB / 334.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.151, allocations: 11.98 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.1511, allocations: 8 kB / 334.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.1511, allocations: 7.984 kB / 334.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1512, allocations: 8 kB / 334.2 MB, free: 13 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1513, allocations: 127.2 kB / 334.3 MB, free: 12.87 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 0 / 334.3 MB, free: 12.87 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1516, allocations: 55.88 kB / 334.3 MB, free: 12.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001375/0.153, allocations: 0.9392 MB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.1534, allocations: 191.8 kB / 335.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.1535, allocations: 0 / 335.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.1536, allocations: 67.89 kB / 335.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1538, allocations: 4 kB / 335.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.1566, allocations: 2.126 MB / 337.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.1571, allocations: 0.7119 MB / 338.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.1572, allocations: 16.88 kB / 338.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.1573, allocations: 43.42 kB / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1573, allocations: 0 / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1792, allocations: 3.638 MB / 342.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.1795, allocations: 245.2 kB / 342.3 MB, free: 4.664 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.507, allocations: 4 kB / 342.3 MB, free: 4.66 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches