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.001675/0.001675, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002246/0.002247, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 57.28 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002455/0.116, allocations: 0.8754 MB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.1167, allocations: 247.2 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1168, allocations: 3.938 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.1168, allocations: 7.922 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.117, allocations: 7.938 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1174, allocations: 99.72 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1176, allocations: 47.84 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1177, allocations: 27.95 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.1177, allocations: 15.94 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.1178, allocations: 23.84 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1179, allocations: 4 kB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.118, allocations: 39.95 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.118, allocations: 23.92 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1181, allocations: 23.81 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1182, allocations: 95.62 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1183, allocations: 3.938 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1183, allocations: 4 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1183, allocations: 0 / 360.4 MB, free: 11.81 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.0005219/0.1188, allocations: 383.1 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1188, allocations: 12.03 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1189, allocations: 8.844 kB / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1192, allocations: 206.4 kB / 361 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1192, allocations: 384 / 361 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1192, allocations: 4.375 kB / 361 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1196, allocations: 157.4 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1196, allocations: 4.188 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1196, allocations: 3.938 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1196, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.1197, allocations: 23.94 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.12, allocations: 269.8 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.1201, allocations: 46.5 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.1202, allocations: 24.8 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.1208, allocations: 0.5857 MB / 362.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1209, allocations: 30.56 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1209, allocations: 0 / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002131/0.1211, allocations: 81.59 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.1212, allocations: 63.3 kB / 362.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1213, allocations: 157.3 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1213, allocations: 25.7 kB / 362.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.1214, allocations: 92.19 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1214, allocations: 15.84 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1214, allocations: 25.7 kB / 362.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1216, allocations: 322.7 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.1216, allocations: 19.98 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.1217, allocations: 66 kB / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.1218, allocations: 85.86 kB / 363.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1218, allocations: 0 / 363.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000158/0.122, allocations: 105.5 kB / 363.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.122, allocations: 8 kB / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.122, allocations: 0 / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.122, allocations: 4 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1221, allocations: 20.2 kB / 363.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1221, allocations: 12.17 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.1222, allocations: 7.938 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1222, allocations: 7.984 kB / 363.3 MB, free: 8.574 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.0001165/0.1223, allocations: 137.8 kB / 363.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.1224, allocations: 69.59 kB / 363.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.1226, allocations: 90.23 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1226, allocations: 0 / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1226, allocations: 0 / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1226, allocations: 4 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1227, allocations: 177.6 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1227, allocations: 0 / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1228, allocations: 4 kB / 363.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1228, allocations: 4.078 kB / 363.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1228, allocations: 4 kB / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1228, allocations: 0 / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1228, allocations: 0 / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.123, allocations: 112.9 kB / 363.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.123, allocations: 93 kB / 363.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1231, allocations: 4 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.1231, allocations: 3.984 kB / 364 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-06/0.1231, allocations: 0 / 364 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1231, allocations: 8 kB / 364 MB, free: 7.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.1232, allocations: 115.2 kB / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1232, allocations: 0 / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1234, allocations: 16 kB / 364.1 MB, free: 7.641 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.0001732/0.1236, allocations: 107.2 kB / 364.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1238, allocations: 55.89 kB / 364.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1238, allocations: 4 kB / 364.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1238, allocations: 0 / 364.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1242, allocations: 89.52 kB / 364.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.1245, allocations: 177.8 kB / 364.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1248, allocations: 0.708 MB / 365.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.1249, allocations: 4.672 kB / 365.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.1249, allocations: 11.44 kB / 365.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1249, allocations: 0 / 365.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of Templates: time 0.004103/0.129, allocations: 1.335 MB / 366.6 MB, free: 5.09 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 -s gbode -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