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.001017/0.001017, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 208.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.7 MB / 247.5 MB, free: 9.512 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002552, allocations: 8 kB / 308.4 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1056, allocations: 51.52 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001609/0.1073, allocations: 0.5867 MB / 360.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.1081, allocations: 259.2 kB / 360.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1082, allocations: 4 kB / 360.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.1083, allocations: 3.938 kB / 360.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1084, allocations: 4 kB / 360.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.1089, allocations: 91.72 kB / 360.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.109, allocations: 43.86 kB / 360.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1091, allocations: 19.97 kB / 360.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.1092, allocations: 11.94 kB / 360.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.1093, allocations: 23.86 kB / 361 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1093, allocations: 3.984 kB / 361 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1094, allocations: 31.97 kB / 361 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.1095, allocations: 19.92 kB / 361 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.1096, allocations: 53.5 kB / 361.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1097, allocations: 63.81 kB / 361.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1097, allocations: 4 kB / 361.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1097, allocations: 7.938 kB / 361.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1097, allocations: 0 / 361.1 MB, free: 11.86 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.0005372/0.1103, allocations: 371.5 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1104, allocations: 8.031 kB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1104, allocations: 8.844 kB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1106, allocations: 204 kB / 361.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1107, allocations: 384 / 361.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1107, allocations: 8.375 kB / 361.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.111, allocations: 157.5 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.111, allocations: 192 / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1111, allocations: 7.938 kB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1111, allocations: 0 / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.1111, allocations: 23.92 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.1115, allocations: 273.7 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.1116, allocations: 42.52 kB / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.1116, allocations: 24.89 kB / 362.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.1123, allocations: 0.5817 MB / 362.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1124, allocations: 42.5 kB / 362.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1124, allocations: 0 / 362.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002216/0.1126, allocations: 77.59 kB / 362.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1127, allocations: 59.39 kB / 363 MB, free: 9.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1128, allocations: 153.2 kB / 363.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1128, allocations: 25.7 kB / 363.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1129, allocations: 92.12 kB / 363.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1129, allocations: 15.84 kB / 363.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.113, allocations: 13.72 kB / 363.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1131, allocations: 326.8 kB / 363.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.1131, allocations: 19.98 kB / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.1132, allocations: 61.94 kB / 363.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.1133, allocations: 81.94 kB / 363.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1133, allocations: 4.188 kB / 363.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001753/0.1135, allocations: 117.4 kB / 363.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1135, allocations: 7.938 kB / 363.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1135, allocations: 4 kB / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1135, allocations: 0 / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.1136, allocations: 19.98 kB / 363.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1136, allocations: 0 / 363.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.1137, allocations: 7.938 kB / 363.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1137, allocations: 4 kB / 363.9 MB, free: 8.648 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.000132/0.1138, allocations: 149.3 kB / 364.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.114, allocations: 65.83 kB / 364.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.1141, allocations: 94.38 kB / 364.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1142, allocations: 4 kB / 364.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1142, allocations: 4 kB / 364.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1142, allocations: 0 / 364.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1143, allocations: 181.4 kB / 364.4 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.1143, allocations: 4 kB / 364.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.1144, allocations: 8 kB / 364.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1144, allocations: 0 / 364.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1144, allocations: 0 / 364.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1144, allocations: 0 / 364.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1144, allocations: 0 / 364.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1146, allocations: 101.1 kB / 364.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.1146, allocations: 101 kB / 364.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1147, allocations: 3.984 kB / 364.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.369e-05/0.1147, allocations: 8 kB / 364.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-06/0.1147, allocations: 0 / 364.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1147, allocations: 3.984 kB / 364.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.1148, allocations: 119.2 kB / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1148, allocations: 0 / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1151, allocations: 16 kB / 364.8 MB, free: 7.699 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.000202/0.1153, allocations: 107.2 kB / 364.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1154, allocations: 56.09 kB / 364.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1154, allocations: 0 / 364.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1154, allocations: 0 / 364.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1158, allocations: 73.7 kB / 365 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.1162, allocations: 240.9 kB / 365.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1166, allocations: 0.7043 MB / 365.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1166, allocations: 11.44 kB / 366 MB, free: 6.438 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1166, allocations: 0 / 366 MB, free: 6.438 MB / 302.1 MB Notification: Performance of Templates: time 0.003602/0.1202, allocations: 1.277 MB / 367.2 MB, free: 5.172 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/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