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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.16 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1459, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002658/0.1486, allocations: 0.8681 MB / 358.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000708/0.1493, allocations: 255.1 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1495, allocations: 0 / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.68e-05/0.1495, allocations: 7.922 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1497, allocations: 15.88 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.1502, allocations: 91.78 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1504, allocations: 47.84 kB / 358.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1505, allocations: 27.89 kB / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.1506, allocations: 15.94 kB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.1506, allocations: 23.86 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1507, allocations: 4 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1508, allocations: 39.95 kB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.1509, allocations: 27.91 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1509, allocations: 27.81 kB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1511, allocations: 87.69 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1511, allocations: 4 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1511, allocations: 0 / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1512, allocations: 0 / 359.1 MB, free: 12.5 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.000616/0.1518, allocations: 387.3 kB / 359.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1518, allocations: 16.03 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1519, allocations: 8.844 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1521, allocations: 196 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1522, allocations: 8.312 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1522, allocations: 4.375 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1525, allocations: 157.4 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1525, allocations: 192 / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1526, allocations: 3.938 kB / 359.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1526, allocations: 4 kB / 359.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.1526, allocations: 19.98 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.153, allocations: 265.8 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1531, allocations: 50.5 kB / 360.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.1531, allocations: 28.89 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.1539, allocations: 0.5739 MB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.154, allocations: 38.55 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.154, allocations: 0 / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002308/0.1542, allocations: 89.53 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.1543, allocations: 59.31 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1544, allocations: 149.8 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1545, allocations: 25.7 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.1545, allocations: 88.14 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1546, allocations: 15.89 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.1546, allocations: 17.72 kB / 361.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1548, allocations: 330.8 kB / 361.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.1549, allocations: 19.98 kB / 361.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.155, allocations: 58 kB / 361.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1551, allocations: 85.81 kB / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1551, allocations: 4 kB / 361.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1553, allocations: 113.5 kB / 361.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1553, allocations: 4 kB / 361.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1553, allocations: 0 / 361.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.1554, allocations: 4 kB / 361.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.1555, allocations: 19.94 kB / 361.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1555, allocations: 192 / 361.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.1555, allocations: 11.94 kB / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1555, allocations: 7.938 kB / 361.9 MB, free: 9.273 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.0001282/0.1557, allocations: 137.9 kB / 362 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1558, allocations: 73.67 kB / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.156, allocations: 90.27 kB / 362.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.156, allocations: 0 / 362.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.156, allocations: 4 kB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.156, allocations: 144 / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1562, allocations: 169.6 kB / 362.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.1562, allocations: 11.97 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.1562, allocations: 7.938 kB / 362.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1562, allocations: 4 kB / 362.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1563, allocations: 0 / 362.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1563, allocations: 0 / 362.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1563, allocations: 0 / 362.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.1564, allocations: 105.1 kB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.1565, allocations: 101 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1565, allocations: 0 / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.1566, allocations: 8 kB / 362.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.1566, allocations: 4 kB / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1566, allocations: 0 / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.973e-05/0.1567, allocations: 118.8 kB / 362.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1567, allocations: 0 / 362.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1569, allocations: 20 kB / 362.7 MB, free: 8.332 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.0001981/0.1571, allocations: 111.2 kB / 362.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1573, allocations: 56.22 kB / 362.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1573, allocations: 4.125 kB / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1573, allocations: 0 / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1577, allocations: 83.98 kB / 363 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.1581, allocations: 181.3 kB / 363.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1585, allocations: 0.7002 MB / 363.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.1585, allocations: 8.656 kB / 363.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1585, allocations: 11.44 kB / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1585, allocations: 0 / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of Templates: time 0.004457/0.163, allocations: 1.336 MB / 365.2 MB, free: 5.781 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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