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.00136/0.00136, allocations: 113 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 212.9 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2421, allocations: 50.53 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002124/0.2443, allocations: 0.8745 MB / 410.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.2449, allocations: 247.1 kB / 411 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.245, allocations: 4 kB / 411.1 MB, free: 496 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.245, allocations: 7.922 kB / 411.1 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.2452, allocations: 11.88 kB / 411.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.2456, allocations: 95.39 kB / 411.2 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2457, allocations: 43.86 kB / 411.2 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.2458, allocations: 31.91 kB / 411.2 MB, free: 308 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.2458, allocations: 15.92 kB / 411.3 MB, free: 292 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.2459, allocations: 23.86 kB / 411.3 MB, free: 268 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2459, allocations: 0 / 411.3 MB, free: 268 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.246, allocations: 43.95 kB / 411.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.2461, allocations: 19.92 kB / 411.3 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.2461, allocations: 31.81 kB / 411.4 MB, free: 172 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2463, allocations: 95.66 kB / 411.5 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2463, allocations: 4 kB / 411.5 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.2463, allocations: 0 / 411.5 MB, free: 72 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2463, allocations: 3.938 kB / 411.5 MB, free: 68 kB / 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.0005368/0.2469, allocations: 379.1 kB / 411.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2469, allocations: 8.031 kB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.247, allocations: 12.78 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2472, allocations: 205.3 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.2472, allocations: 384 / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2473, allocations: 8.375 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.2476, allocations: 153.4 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2476, allocations: 192 / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2476, allocations: 3.938 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2476, allocations: 4 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.2477, allocations: 24 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.248, allocations: 269.6 kB / 412.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.2481, allocations: 46.5 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.2481, allocations: 24.86 kB / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.2487, allocations: 0.5818 MB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2488, allocations: 30.56 kB / 413.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2488, allocations: 4 kB / 413.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002397/0.249, allocations: 93.56 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.2491, allocations: 59.41 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2492, allocations: 158.5 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2492, allocations: 29.7 kB / 413.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.2493, allocations: 84.14 kB / 413.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.2493, allocations: 11.91 kB / 413.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.2493, allocations: 25.64 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2495, allocations: 322.8 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.2495, allocations: 19.98 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.2496, allocations: 69.92 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2497, allocations: 81.94 kB / 414.1 MB, free: 13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2497, allocations: 0 / 414.1 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001423/0.2499, allocations: 109.4 kB / 414.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2499, allocations: 6.812 kB / 414.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2499, allocations: 4 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2499, allocations: 4.219 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.25, allocations: 19.98 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.25, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.2501, allocations: 11.91 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2501, allocations: 4 kB / 414.3 MB, free: 12.84 MB / 334.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.0001076/0.2502, allocations: 137.6 kB / 414.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.2503, allocations: 69.78 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2505, allocations: 90.27 kB / 414.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2505, allocations: 11.94 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2505, allocations: 0 / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2505, allocations: 0 / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2506, allocations: 177.6 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2506, allocations: 0 / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.2507, allocations: 4 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2507, allocations: 0 / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2507, allocations: 4.125 kB / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2507, allocations: 3.938 kB / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2507, allocations: 0 / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2508, allocations: 108.9 kB / 414.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.2509, allocations: 100.9 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.251, allocations: 7.984 kB / 415 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.251, allocations: 0 / 415 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-06/0.251, allocations: 0 / 415 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.251, allocations: 4 kB / 415 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.2511, allocations: 115.2 kB / 415.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2511, allocations: 3.938 kB / 415.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.2513, allocations: 20 kB / 415.1 MB, free: 11.89 MB / 334.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.0001591/0.2515, allocations: 111.2 kB / 415.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.2516, allocations: 47.92 kB / 415.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2517, allocations: 4 kB / 415.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2517, allocations: 0 / 415.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.252, allocations: 76.11 kB / 415.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.2524, allocations: 211.6 kB / 415.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2527, allocations: 0.704 MB / 416.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.2527, allocations: 15.38 kB / 416.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2527, allocations: 0 / 416.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.002995/0.2557, allocations: 1.3 MB / 417.6 MB, free: 9.352 MB / 334.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/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches