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.001364/0.001364, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001287/0.001287, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.477/1.477, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002004, allocations: 46.23 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1291, allocations: 49.44 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002701/0.1319, allocations: 0.9406 MB / 350.4 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.1327, allocations: 255.1 kB / 350.7 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1328, allocations: 0 / 350.7 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.388e-05/0.1329, allocations: 7.938 kB / 350.7 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1331, allocations: 7.922 kB / 350.7 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.1336, allocations: 93.41 kB / 350.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1338, allocations: 43.86 kB / 350.8 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.134, allocations: 15.97 kB / 350.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.134, allocations: 15.94 kB / 350.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1341, allocations: 23.86 kB / 350.9 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1342, allocations: 0 / 350.9 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1343, allocations: 43.95 kB / 350.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.1344, allocations: 23.91 kB / 351 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.1345, allocations: 27.81 kB / 351 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1347, allocations: 87.69 kB / 351.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1347, allocations: 0 / 351.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1347, allocations: 0 / 351.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1347, allocations: 0 / 351.1 MB, free: 3.18 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.0008054/0.1355, allocations: 387.4 kB / 351.5 MB, free: 2.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.1356, allocations: 11.97 kB / 351.5 MB, free: 2.738 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.1357, allocations: 38.73 kB / 351.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.1357, allocations: 8.844 kB / 351.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.136, allocations: 200.1 kB / 351.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1361, allocations: 4.375 kB / 351.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1361, allocations: 8.312 kB / 351.7 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.1365, allocations: 157.4 kB / 351.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1365, allocations: 3.938 kB / 351.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1366, allocations: 4 kB / 351.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1366, allocations: 0 / 351.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.1366, allocations: 20 kB / 351.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1371, allocations: 285.7 kB / 352.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1372, allocations: 42.56 kB / 352.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.1373, allocations: 24.86 kB / 352.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.1382, allocations: 0.5818 MB / 352.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1382, allocations: 30.56 kB / 352.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1382, allocations: 0 / 352.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003073/0.1385, allocations: 89.52 kB / 352.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.1386, allocations: 63.31 kB / 353 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1388, allocations: 148.4 kB / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1388, allocations: 25.7 kB / 353.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1389, allocations: 96.08 kB / 353.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1389, allocations: 3.906 kB / 353.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.139, allocations: 29.7 kB / 353.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1392, allocations: 322.8 kB / 353.6 MB, free: 272 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.1392, allocations: 23.92 kB / 353.6 MB, free: 248 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.1393, allocations: 65.94 kB / 353.7 MB, free: 160 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.1394, allocations: 81.92 kB / 353.8 MB, free: 56 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1394, allocations: 0 / 353.8 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.1396, allocations: 109.4 kB / 353.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1396, allocations: 8.219 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1396, allocations: 4 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1396, allocations: 4 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.1397, allocations: 15.98 kB / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1398, allocations: 4 kB / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.1398, allocations: 7.938 kB / 353.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1398, allocations: 7.938 kB / 353.9 MB, free: 15.89 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.1399, allocations: 131.6 kB / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1401, allocations: 73.62 kB / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.1402, allocations: 94.3 kB / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1402, allocations: 0 / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.1403, allocations: 0 / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1403, allocations: 0 / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1404, allocations: 181.6 kB / 354.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1404, allocations: 0 / 354.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.1405, allocations: 4 kB / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1405, allocations: 4 kB / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1405, allocations: 0 / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.1405, allocations: 3.984 kB / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1405, allocations: 4 kB / 354.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.1406, allocations: 105.1 kB / 354.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.1407, allocations: 97 kB / 354.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1408, allocations: 3.984 kB / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.1408, allocations: 7.938 kB / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-06/0.1408, allocations: 0 / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1408, allocations: 4.188 kB / 354.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.1409, allocations: 126.2 kB / 354.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1409, allocations: 3.938 kB / 354.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1411, allocations: 16 kB / 354.8 MB, free: 14.94 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.0005497/0.1417, allocations: 0.6709 MB / 355.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.1418, allocations: 56.11 kB / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1418, allocations: 0 / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1418, allocations: 0 / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1422, allocations: 85.62 kB / 355.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.1432, allocations: 0.6165 MB / 356.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1436, allocations: 0.7083 MB / 356.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.1436, allocations: 8.656 kB / 356.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.1437, allocations: 15.44 kB / 356.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1437, allocations: 0 / 356.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.1572, allocations: 2.366 MB / 359.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.1576, allocations: 209.8 kB / 359.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.217, allocations: 0 / 359.5 MB, free: 10.15 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