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.001294/0.001294, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 60.62 kB / 306.9 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 50.53 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002531/0.115, allocations: 0.9295 MB / 358.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007305/0.1157, allocations: 259.1 kB / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.1158, allocations: 3.938 kB / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.969e-05/0.1159, allocations: 0 / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1161, allocations: 15.91 kB / 358.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1166, allocations: 87.36 kB / 358.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1167, allocations: 39.86 kB / 358.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1168, allocations: 27.95 kB / 358.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.1169, allocations: 15.94 kB / 358.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.117, allocations: 23.8 kB / 358.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.117, allocations: 4 kB / 358.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1171, allocations: 35.95 kB / 358.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.1172, allocations: 19.92 kB / 358.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.1173, allocations: 31.8 kB / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1174, allocations: 63.83 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1174, allocations: 4 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1174, allocations: 0 / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1175, allocations: 0 / 359 MB, free: 12.75 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.0006385/0.1181, allocations: 393.7 kB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1181, allocations: 8.031 kB / 359.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1182, allocations: 12.83 kB / 359.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1184, allocations: 200 kB / 359.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1184, allocations: 384 / 359.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1185, allocations: 4.375 kB / 359.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.1188, allocations: 149.6 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1188, allocations: 192 / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1189, allocations: 15.86 kB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1189, allocations: 0 / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.1189, allocations: 16 kB / 359.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.1192, allocations: 269.8 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.1193, allocations: 54.38 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1194, allocations: 20.86 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007837/0.1202, allocations: 0.5857 MB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1202, allocations: 30.56 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1202, allocations: 0 / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002165/0.1205, allocations: 89.66 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1205, allocations: 63.47 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1207, allocations: 153.3 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1207, allocations: 29.7 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.1207, allocations: 88.12 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1208, allocations: 15.84 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.1208, allocations: 21.72 kB / 361.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1209, allocations: 326.8 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.121, allocations: 19.98 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.121, allocations: 66 kB / 361.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.1211, allocations: 81.88 kB / 361.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1211, allocations: 0 / 361.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001433/0.1213, allocations: 109.4 kB / 361.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1213, allocations: 8 kB / 361.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1213, allocations: 3.984 kB / 361.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.1213, allocations: 4 kB / 361.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.1214, allocations: 20.14 kB / 361.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1214, allocations: 8 kB / 361.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.1215, allocations: 7.938 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1215, allocations: 4 kB / 361.8 MB, free: 9.512 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.0001516/0.1217, allocations: 137.2 kB / 362 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.1218, allocations: 77.53 kB / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.122, allocations: 82.39 kB / 362.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.122, allocations: 4.031 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.122, allocations: 4 kB / 362.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.122, allocations: 0 / 362.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1221, allocations: 181.5 kB / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1222, allocations: 0 / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.1222, allocations: 8 kB / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1222, allocations: 192 / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1222, allocations: 4 kB / 362.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1222, allocations: 3.938 kB / 362.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1222, allocations: 3.938 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1224, allocations: 105 kB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.1225, allocations: 93 kB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1225, allocations: 4 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.1225, allocations: 4 kB / 362.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-06/0.1225, allocations: 3.984 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1226, allocations: 4 kB / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.013e-05/0.1226, allocations: 115.2 kB / 362.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1227, allocations: 0 / 362.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1229, allocations: 16 kB / 362.6 MB, free: 8.574 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.0001558/0.123, allocations: 111.2 kB / 362.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1232, allocations: 59.84 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1232, allocations: 0 / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1232, allocations: 0 / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1236, allocations: 73.7 kB / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.1239, allocations: 237.2 kB / 363.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1242, allocations: 0.6965 MB / 363.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.1243, allocations: 11.44 kB / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1243, allocations: 0 / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of Templates: time 0.002889/0.1272, allocations: 1.293 MB / 365.1 MB, free: 6.027 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