Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_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.001538/0.001538, allocations: 92.83 kB / 16.65 MB, free: 6.586 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.002014/0.002014, allocations: 181.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 4 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 50.41 MB / 351.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001991/0.1421, allocations: 1.233 MB / 353.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1435, allocations: 0.5855 MB / 353.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.1435, allocations: 0 / 353.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1436, allocations: 11.92 kB / 353.8 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.1437, allocations: 11.88 kB / 353.8 MB, free: 1.746 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.1443, allocations: 111.8 kB / 353.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1444, allocations: 107.7 kB / 354 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.1445, allocations: 13.12 kB / 354 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.1446, allocations: 39.83 kB / 354 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.1454, allocations: 72.67 kB / 354.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.1454, allocations: 8 kB / 354.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1457, allocations: 103.8 kB / 354.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1457, allocations: 39.83 kB / 354.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.1458, allocations: 77.31 kB / 354.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1461, allocations: 191.7 kB / 354.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1462, allocations: 0 / 354.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1462, allocations: 0 / 354.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1462, allocations: 0 / 354.5 MB, free: 0.9961 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007229/0.1469, allocations: 427 kB / 354.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.147, allocations: 12.03 kB / 355 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.776e-05/0.1471, allocations: 38.75 kB / 355 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.1474, allocations: 44.66 kB / 355 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1476, allocations: 208 kB / 355.2 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1476, allocations: 8.125 kB / 355.2 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1477, allocations: 8 kB / 355.3 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.1479, allocations: 119.3 kB / 355.4 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.148, allocations: 3.984 kB / 355.4 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.148, allocations: 0 / 355.4 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.148, allocations: 4 kB / 355.4 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1482, allocations: 71.89 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.149, allocations: 460.7 kB / 355.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1494, allocations: 141.2 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1495, allocations: 65.75 kB / 356.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1495, allocations: 0 / 356.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.1498, allocations: 145 kB / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1498, allocations: 0 / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005661/0.1504, allocations: 245.5 kB / 356.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.1505, allocations: 93.05 kB / 356.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1507, allocations: 182.8 kB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.1508, allocations: 53.69 kB / 356.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1508, allocations: 104.5 kB / 356.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1509, allocations: 43.53 kB / 357 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.151, allocations: 37.7 kB / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1511, allocations: 326.8 kB / 357.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1513, allocations: 100.5 kB / 357.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1515, allocations: 141.3 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.1519, allocations: 223.4 kB / 357.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1519, allocations: 0 / 357.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004774/0.1524, allocations: 293.3 kB / 358 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1524, allocations: 4 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1524, allocations: 3.938 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1524, allocations: 4 kB / 358.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1526, allocations: 35.98 kB / 358.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1526, allocations: 7.938 kB / 358.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.1527, allocations: 23.73 kB / 358.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1527, allocations: 8 kB / 358.1 MB, free: 13.1 MB / 302.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.0001447/0.1529, allocations: 137.8 kB / 358.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1529, allocations: 19.81 kB / 358.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.1529, allocations: 17.41 kB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.153, allocations: 8.016 kB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.153, allocations: 3.938 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.153, allocations: 3.984 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1532, allocations: 205.6 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1532, allocations: 0 / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.1533, allocations: 11.98 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1533, allocations: 0 / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1533, allocations: 4 kB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1533, allocations: 4 kB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.1533, allocations: 3.938 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1537, allocations: 229.6 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1538, allocations: 92.92 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.1538, allocations: 15.98 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.1539, allocations: 7.938 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.1539, allocations: 11.92 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.154, allocations: 8 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1541, allocations: 127.5 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1541, allocations: 4 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.1544, allocations: 44 kB / 359.1 MB, free: 12.05 MB / 302.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.001285/0.1557, allocations: 0.933 MB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.1561, allocations: 191.9 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1561, allocations: 0 / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1563, allocations: 59.97 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1565, allocations: 15.44 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.1594, allocations: 2.133 MB / 362.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1597, allocations: 0.7119 MB / 363.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.354e-05/0.1598, allocations: 12.88 kB / 363.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.1599, allocations: 43.36 kB / 363.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1599, allocations: 4 kB / 363.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.177, allocations: 3.245 MB / 366.4 MB, free: 4.699 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.1774, allocations: 234 kB / 366.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.256, allocations: 0 / 366.6 MB, free: 4.445 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches