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.001277/0.001277, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001244/0.001245, allocations: 192.5 kB / 18.67 MB, free: 4.434 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3395, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002786/0.3423, allocations: 0.8779 MB / 402.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000771/0.3432, allocations: 263 kB / 402.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3433, allocations: 0 / 402.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.59e-05/0.3434, allocations: 3.938 kB / 402.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.3436, allocations: 11.88 kB / 402.6 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.3441, allocations: 98.52 kB / 402.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3443, allocations: 47.86 kB / 402.7 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3444, allocations: 19.97 kB / 402.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.3445, allocations: 19.86 kB / 402.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.3446, allocations: 27.86 kB / 402.8 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3446, allocations: 0 / 402.8 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3448, allocations: 43.95 kB / 402.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.3449, allocations: 23.92 kB / 402.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.3449, allocations: 27.8 kB / 402.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3451, allocations: 95.69 kB / 403 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3452, allocations: 0 / 403 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.909e-06/0.3452, allocations: 4 kB / 403 MB, free: 7.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3452, allocations: 3.938 kB / 403 MB, free: 7.336 MB / 318.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.0006201/0.3458, allocations: 375.1 kB / 403.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3459, allocations: 11.89 kB / 403.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3459, allocations: 12.84 kB / 403.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.3462, allocations: 217.2 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3463, allocations: 4.375 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3463, allocations: 4.375 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3466, allocations: 145.5 kB / 403.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3466, allocations: 192 / 403.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3467, allocations: 7.938 kB / 403.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.3467, allocations: 4 kB / 403.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.3467, allocations: 23.98 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3471, allocations: 265.7 kB / 404 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.3472, allocations: 46.5 kB / 404.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.3473, allocations: 28.89 kB / 404.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/0.348, allocations: 0.5778 MB / 404.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3481, allocations: 34.56 kB / 404.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3481, allocations: 3.938 kB / 404.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002509/0.3483, allocations: 85.52 kB / 404.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.3484, allocations: 63.41 kB / 404.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3486, allocations: 147.3 kB / 405 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3486, allocations: 29.7 kB / 405 MB, free: 4.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.3487, allocations: 84.14 kB / 405.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3487, allocations: 11.89 kB / 405.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3487, allocations: 29.66 kB / 405.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3489, allocations: 322.8 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.349, allocations: 23.98 kB / 405.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.349, allocations: 61.94 kB / 405.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.3491, allocations: 81.94 kB / 405.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3491, allocations: 0 / 405.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.3493, allocations: 105.5 kB / 405.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3493, allocations: 8.203 kB / 405.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3494, allocations: 12.17 kB / 405.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3494, allocations: 0 / 405.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.3495, allocations: 16 kB / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3495, allocations: 3.984 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.3496, allocations: 11.91 kB / 405.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.3496, allocations: 4 kB / 405.8 MB, free: 4.113 MB / 318.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.0001077/0.3497, allocations: 133.7 kB / 405.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3498, allocations: 69.66 kB / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.35, allocations: 94.33 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.35, allocations: 0 / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.35, allocations: 3.938 kB / 406.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.35, allocations: 4.125 kB / 406.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3502, allocations: 173.6 kB / 406.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3502, allocations: 3.984 kB / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.3502, allocations: 11.98 kB / 406.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3502, allocations: 0 / 406.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3503, allocations: 0 / 406.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3503, allocations: 3.938 kB / 406.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3503, allocations: 4 kB / 406.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3504, allocations: 101.2 kB / 406.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.3505, allocations: 96.98 kB / 406.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3505, allocations: 7.938 kB / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.249e-05/0.3506, allocations: 0 / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.3506, allocations: 0 / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3506, allocations: 0 / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.703e-05/0.3507, allocations: 121.4 kB / 406.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3507, allocations: 8 kB / 406.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00026/0.351, allocations: 12 kB / 406.6 MB, free: 3.172 MB / 318.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.0002051/0.3512, allocations: 123 kB / 406.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.3514, allocations: 47.92 kB / 406.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3514, allocations: 0 / 406.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.3514, allocations: 3.984 kB / 406.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3518, allocations: 86.14 kB / 406.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.3522, allocations: 211.1 kB / 407.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3526, allocations: 0.7039 MB / 407.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3526, allocations: 11.44 kB / 407.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of SimCode: time 2.054e-06/0.3526, allocations: 0 / 407.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of Templates: time 0.003733/0.3563, allocations: 1.308 MB / 409.1 MB, free: 0.6133 MB / 318.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 -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