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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001075/0.001075, allocations: 191 kB / 18.63 MB, free: 4.512 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.529/1.529, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 46.16 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002525/0.1343, allocations: 0.876 MB / 352.4 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006136/0.135, allocations: 255 kB / 352.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.1351, allocations: 4 kB / 352.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.1351, allocations: 7.922 kB / 352.6 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1353, allocations: 3.938 kB / 352.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.1358, allocations: 105.6 kB / 352.8 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1359, allocations: 39.92 kB / 352.8 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.136, allocations: 15.98 kB / 352.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.1361, allocations: 15.94 kB / 352.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.1362, allocations: 23.84 kB / 352.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1362, allocations: 4 kB / 352.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1363, allocations: 47.89 kB / 352.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.1364, allocations: 19.92 kB / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.1365, allocations: 31.75 kB / 353 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1366, allocations: 91.67 kB / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1367, allocations: 0 / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1367, allocations: 4 kB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1367, allocations: 0 / 353 MB, free: 2.168 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.000537/0.1372, allocations: 383.1 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1373, allocations: 15.83 kB / 353.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.1373, allocations: 8.844 kB / 353.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1376, allocations: 204.1 kB / 353.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1377, allocations: 4.375 kB / 353.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1377, allocations: 12.36 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.138, allocations: 161.3 kB / 353.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.138, allocations: 192 / 353.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.138, allocations: 3.938 kB / 353.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.138, allocations: 0 / 353.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.1381, allocations: 16 kB / 353.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1384, allocations: 273.8 kB / 354.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.1385, allocations: 50.44 kB / 354.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1386, allocations: 20.86 kB / 354.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.1393, allocations: 0.5857 MB / 354.8 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1393, allocations: 30.56 kB / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1393, allocations: 0 / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002383/0.1396, allocations: 93.58 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.1396, allocations: 63.25 kB / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1398, allocations: 149.8 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1398, allocations: 25.7 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1399, allocations: 92.14 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.1399, allocations: 0 / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.14, allocations: 33.61 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1401, allocations: 322.8 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.1401, allocations: 19.98 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.1402, allocations: 69.98 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.919e-05/0.1403, allocations: 81.88 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1403, allocations: 0 / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001554/0.1405, allocations: 105.5 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1405, allocations: 8 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1405, allocations: 0 / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1405, allocations: 4 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.1406, allocations: 24.14 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1407, allocations: 4 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1407, allocations: 7.938 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1407, allocations: 4 kB / 355.9 MB, free: 14.93 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.0001485/0.1409, allocations: 130 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.141, allocations: 73.53 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1412, allocations: 90.48 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1412, allocations: 0 / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1412, allocations: 4 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1412, allocations: 4 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.1413, allocations: 181.5 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1414, allocations: 0 / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1414, allocations: 8 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1414, allocations: 0 / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1414, allocations: 7.922 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1414, allocations: 0 / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1414, allocations: 0 / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1416, allocations: 101 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1417, allocations: 97.19 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1417, allocations: 3.984 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.1417, allocations: 0 / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1417, allocations: 7.984 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1418, allocations: 0 / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1419, allocations: 121.2 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1419, allocations: 0 / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1421, allocations: 16 kB / 356.7 MB, free: 13.99 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.0001769/0.1423, allocations: 119.2 kB / 356.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.1424, allocations: 55.86 kB / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1425, allocations: 0 / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.1425, allocations: 0 / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1429, allocations: 85.7 kB / 357 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.1433, allocations: 181.7 kB / 357.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1436, allocations: 0.7041 MB / 357.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.1436, allocations: 12.59 kB / 357.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.1437, allocations: 11.44 kB / 357.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1437, allocations: 0 / 357.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Templates: time 0.004972/0.1487, allocations: 1.331 MB / 359.2 MB, free: 11.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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