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.001629/0.001629, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.415, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002561/0.4176, allocations: 0.8659 MB / 410.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.4184, allocations: 255.1 kB / 410.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.4185, allocations: 0 / 410.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.703e-05/0.4185, allocations: 7.875 kB / 410.4 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.4187, allocations: 11.92 kB / 410.4 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.4192, allocations: 91.78 kB / 410.5 MB, free: 396 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4194, allocations: 55.77 kB / 410.5 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4195, allocations: 19.98 kB / 410.5 MB, free: 320 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.4196, allocations: 15.94 kB / 410.6 MB, free: 304 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.765e-05/0.4197, allocations: 19.86 kB / 410.6 MB, free: 284 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.4197, allocations: 7.938 kB / 410.6 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4198, allocations: 47.94 kB / 410.6 MB, free: 228 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.4199, allocations: 23.92 kB / 410.7 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.4199, allocations: 27.81 kB / 410.7 MB, free: 176 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.4202, allocations: 87.69 kB / 410.8 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4202, allocations: 0 / 410.8 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd: time 6.282e-06/0.4202, allocations: 0 / 410.8 MB, free: 88 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4202, allocations: 7.938 kB / 410.8 MB, free: 80 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.0006432/0.4208, allocations: 383 kB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4209, allocations: 12.03 kB / 411.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.4209, allocations: 8.844 kB / 411.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.4213, allocations: 203.4 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4213, allocations: 384 / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4213, allocations: 4.375 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.4216, allocations: 165.5 kB / 411.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4216, allocations: 192 / 411.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4217, allocations: 7.938 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4217, allocations: 0 / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.4217, allocations: 16 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.4221, allocations: 281.6 kB / 411.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.4222, allocations: 46.5 kB / 411.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.4222, allocations: 20.86 kB / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006727/0.4229, allocations: 0.5857 MB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4229, allocations: 30.56 kB / 412.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.423, allocations: 0 / 412.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002392/0.4232, allocations: 89.53 kB / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.4233, allocations: 55.39 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4234, allocations: 153.2 kB / 412.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.4234, allocations: 29.7 kB / 412.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.4235, allocations: 92.12 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.4235, allocations: 7.906 kB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.4236, allocations: 29.64 kB / 413 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4237, allocations: 322.8 kB / 413.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.4237, allocations: 15.98 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.4238, allocations: 73.88 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4239, allocations: 81.92 kB / 413.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4239, allocations: 0 / 413.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001502/0.4241, allocations: 109.4 kB / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4241, allocations: 8 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4241, allocations: 0 / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4242, allocations: 4 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.4243, allocations: 15.98 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4243, allocations: 8.219 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.4243, allocations: 7.906 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4243, allocations: 4 kB / 413.6 MB, free: 12.85 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.0001279/0.4245, allocations: 141.6 kB / 413.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4246, allocations: 81.69 kB / 413.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.4248, allocations: 82.33 kB / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4248, allocations: 0 / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4248, allocations: 0 / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4248, allocations: 0 / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.425, allocations: 181.6 kB / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.425, allocations: 0 / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.425, allocations: 4 kB / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.425, allocations: 0 / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.425, allocations: 4 kB / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.425, allocations: 3.938 kB / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.425, allocations: 0 / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.4252, allocations: 101 kB / 414.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.4253, allocations: 100.9 kB / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4253, allocations: 4 kB / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.4254, allocations: 15.92 kB / 414.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.4254, allocations: 0 / 414.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4254, allocations: 4 kB / 414.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.4255, allocations: 115.2 kB / 414.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 0 / 414.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.4257, allocations: 20 kB / 414.4 MB, free: 11.9 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.000196/0.4259, allocations: 103.4 kB / 414.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.4261, allocations: 59.84 kB / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4261, allocations: 0 / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.4261, allocations: 0 / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.4266, allocations: 81.7 kB / 414.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.4269, allocations: 181 kB / 414.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.4273, allocations: 0.7084 MB / 415.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.4273, allocations: 4.672 kB / 415.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.4274, allocations: 11.44 kB / 415.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4274, allocations: 0 / 415.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of Templates: time 0.004401/0.4318, allocations: 1.387 MB / 417 MB, free: 9.312 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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