Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 90.83 kB / 16.65 MB, free: 6.227 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.001367/0.001367, allocations: 184.1 kB / 17.57 MB, free: 5.867 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.625/1.625, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 4 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 50.41 MB / 352 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001512/0.1392, allocations: 0.597 MB / 352.6 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.1401, allocations: 255.1 kB / 352.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1402, allocations: 0 / 352.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/0.1403, allocations: 11.92 kB / 352.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1405, allocations: 0 / 352.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.141, allocations: 87.78 kB / 352.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1412, allocations: 43.86 kB / 352.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1413, allocations: 19.94 kB / 353 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.1414, allocations: 11.94 kB / 353 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.1415, allocations: 19.86 kB / 353 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1415, allocations: 4 kB / 353 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1416, allocations: 43.95 kB / 353 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1417, allocations: 15.92 kB / 353.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.1418, allocations: 57.5 kB / 353.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.142, allocations: 79.69 kB / 353.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.142, allocations: 3.984 kB / 353.2 MB, free: 2.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.396e-06/0.142, allocations: 0 / 353.2 MB, free: 2.129 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.142, allocations: 7.938 kB / 353.2 MB, free: 2.121 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006297/0.1426, allocations: 371.5 kB / 353.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1427, allocations: 8.031 kB / 353.6 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.1427, allocations: 34.75 kB / 353.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1428, allocations: 12.84 kB / 353.6 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.143, allocations: 196.1 kB / 353.8 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1431, allocations: 4.375 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1431, allocations: 384 / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1434, allocations: 161.5 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1434, allocations: 3.938 kB / 354 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1435, allocations: 0 / 354 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1435, allocations: 11.86 kB / 354 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.1435, allocations: 19.94 kB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.1439, allocations: 277.6 kB / 354.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1441, allocations: 42.56 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.1441, allocations: 24.86 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.1449, allocations: 0.5818 MB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1449, allocations: 42.5 kB / 355 MB, free: 36 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1449, allocations: 0 / 355 MB, free: 36 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002694/0.1452, allocations: 89.56 kB / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1453, allocations: 59.41 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1454, allocations: 149 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1455, allocations: 25.7 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.1455, allocations: 88.14 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1456, allocations: 11.91 kB / 355.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1456, allocations: 21.7 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1457, allocations: 318.8 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.1458, allocations: 23.92 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.1458, allocations: 62 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.146, allocations: 77.92 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.146, allocations: 0 / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.1461, allocations: 117.4 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1462, allocations: 8 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1462, allocations: 0 / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1462, allocations: 4 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1463, allocations: 19.92 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.1463, allocations: 4 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.1464, allocations: 7.875 kB / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1464, allocations: 8.156 kB / 356 MB, free: 14.86 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.0001273/0.1465, allocations: 133.8 kB / 356.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1467, allocations: 73.66 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.1468, allocations: 82.33 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1469, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1469, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1469, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.147, allocations: 181.7 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.147, allocations: 0 / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.1471, allocations: 15.94 kB / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1471, allocations: 0 / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1471, allocations: 4 kB / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1471, allocations: 0 / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1471, allocations: 0 / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.1473, allocations: 104.9 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.1474, allocations: 89 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1474, allocations: 8 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.1474, allocations: 11.92 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-06/0.1474, allocations: 0 / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1475, allocations: 4 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.396e-05/0.1476, allocations: 116.9 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1476, allocations: 0 / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1478, allocations: 20 kB / 356.9 MB, free: 13.93 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.0005759/0.1484, allocations: 0.675 MB / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1485, allocations: 51.86 kB / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1485, allocations: 4 kB / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1486, allocations: 0 / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.149, allocations: 84.39 kB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.15, allocations: 0.6171 MB / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1504, allocations: 0.7004 MB / 359 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.1504, allocations: 8.656 kB / 359 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1505, allocations: 23.38 kB / 359 MB, free: 11.63 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1505, allocations: 0 / 359 MB, free: 11.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.1665, allocations: 2.298 MB / 361.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.1669, allocations: 212.5 kB / 361.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.236, allocations: 0 / 361.5 MB, free: 9.23 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches