Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 115.6 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 59.12 kB / 306.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1203, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002719/0.1231, allocations: 0.9368 MB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.1238, allocations: 251.2 kB / 358.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1239, allocations: 0 / 358.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.358e-05/0.124, allocations: 3.938 kB / 358.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1242, allocations: 11.92 kB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.1248, allocations: 83.86 kB / 358.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1249, allocations: 47.86 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1251, allocations: 19.95 kB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.1252, allocations: 19.92 kB / 358.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1253, allocations: 23.86 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1254, allocations: 3.938 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1255, allocations: 39.97 kB / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.1256, allocations: 19.92 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.1257, allocations: 35.78 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1259, allocations: 95.69 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.126, allocations: 0 / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.126, allocations: 0 / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.126, allocations: 0 / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008131/0.1268, allocations: 391.3 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.1269, allocations: 8.031 kB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.1269, allocations: 38.75 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.127, allocations: 8.844 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.1274, allocations: 198.6 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1274, allocations: 12.36 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1274, allocations: 8.312 kB / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.1279, allocations: 149.5 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1279, allocations: 3.938 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1279, allocations: 4 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.128, allocations: 8 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.128, allocations: 15.98 kB / 359.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.1286, allocations: 269.8 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1287, allocations: 46.5 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1288, allocations: 28.89 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008799/0.1297, allocations: 0.5818 MB / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.1297, allocations: 34.56 kB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1297, allocations: 0 / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002987/0.13, allocations: 97.41 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1301, allocations: 59.41 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1303, allocations: 152.8 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1303, allocations: 25.7 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1304, allocations: 88.14 kB / 360.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1304, allocations: 11.89 kB / 360.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1305, allocations: 21.72 kB / 360.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1306, allocations: 326.8 kB / 361.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.1307, allocations: 23.92 kB / 361.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.1307, allocations: 62 kB / 361.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1308, allocations: 81.88 kB / 361.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1309, allocations: 4 kB / 361.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.131, allocations: 109.4 kB / 361.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1311, allocations: 4 kB / 361.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1311, allocations: 224 / 361.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1311, allocations: 8 kB / 361.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.1312, allocations: 23.94 kB / 361.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1312, allocations: 0 / 361.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1313, allocations: 11.94 kB / 361.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1313, allocations: 7.938 kB / 361.5 MB, free: 9.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001222/0.1314, allocations: 133.8 kB / 361.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1316, allocations: 69.53 kB / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.1317, allocations: 86.3 kB / 361.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1318, allocations: 192 / 361.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1318, allocations: 7.984 kB / 361.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.1318, allocations: 3.938 kB / 361.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1319, allocations: 169.6 kB / 362 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.1319, allocations: 4 kB / 362 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.132, allocations: 7.984 kB / 362 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.132, allocations: 3.938 kB / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.132, allocations: 0 / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.132, allocations: 0 / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.132, allocations: 0 / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1322, allocations: 108.9 kB / 362.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.1323, allocations: 101.2 kB / 362.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1323, allocations: 4 kB / 362.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.1323, allocations: 4 kB / 362.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-06/0.1323, allocations: 3.984 kB / 362.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1324, allocations: 0 / 362.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.1325, allocations: 115.2 kB / 362.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1325, allocations: 4 kB / 362.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1327, allocations: 20 kB / 362.4 MB, free: 8.293 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0005428/0.1333, allocations: 0.667 MB / 363 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.1334, allocations: 56.22 kB / 363.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1334, allocations: 4.125 kB / 363.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1334, allocations: 0 / 363.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1338, allocations: 85.52 kB / 363.2 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.1347, allocations: 0.6277 MB / 363.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.135, allocations: 0.7041 MB / 364.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.1351, allocations: 4.672 kB / 364.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1351, allocations: 23.42 kB / 364.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1352, allocations: 0 / 364.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.1492, allocations: 2.449 MB / 367 MB, free: 3.676 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.1495, allocations: 213.7 kB / 367.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/2.336, allocations: 0 / 367.2 MB, free: 3.418 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches