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.001702/0.001702, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 60.69 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 50.55 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002526/0.123, allocations: 0.929 MB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005976/0.1236, allocations: 259.2 kB / 358 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.1237, allocations: 0 / 358 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.1237, allocations: 3.938 kB / 358 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1239, allocations: 7.938 kB / 358 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.1243, allocations: 83.84 kB / 358.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1244, allocations: 39.86 kB / 358.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.1245, allocations: 23.97 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.1245, allocations: 15.94 kB / 358.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.1246, allocations: 23.84 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1246, allocations: 4 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.1247, allocations: 35.95 kB / 358.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1248, allocations: 19.92 kB / 358.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1248, allocations: 31.75 kB / 358.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.125, allocations: 83.69 kB / 358.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.125, allocations: 4 kB / 358.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.125, allocations: 0 / 358.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.125, allocations: 4 kB / 358.4 MB, free: 12.96 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.0005091/0.1255, allocations: 393.8 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1256, allocations: 8.031 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1256, allocations: 16.84 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1258, allocations: 192.1 kB / 359 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1259, allocations: 8.375 kB / 359 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1259, allocations: 4.312 kB / 359 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.1262, allocations: 153.5 kB / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1262, allocations: 192 / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1262, allocations: 7.875 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1262, allocations: 0 / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.1263, allocations: 27.92 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.1267, allocations: 273.8 kB / 359.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.1268, allocations: 42.52 kB / 359.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.1268, allocations: 28.83 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/0.1276, allocations: 0.5856 MB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1276, allocations: 34.55 kB / 360.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1276, allocations: 0 / 360.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002231/0.1278, allocations: 85.66 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1279, allocations: 63.31 kB / 360.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.128, allocations: 145.8 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1281, allocations: 33.7 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1281, allocations: 92.12 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1281, allocations: 3.906 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1282, allocations: 29.66 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1284, allocations: 326.8 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.1285, allocations: 15.98 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.1285, allocations: 66 kB / 361 MB, free: 9.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1287, allocations: 81.88 kB / 361 MB, free: 9.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1287, allocations: 0 / 361 MB, free: 9.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001516/0.1289, allocations: 109.4 kB / 361.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1289, allocations: 8 kB / 361.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1289, allocations: 0 / 361.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1289, allocations: 7.938 kB / 361.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.129, allocations: 12 kB / 361.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.129, allocations: 16.14 kB / 361.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.1291, allocations: 7.938 kB / 361.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1291, allocations: 8 kB / 361.2 MB, free: 9.711 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.0001584/0.1293, allocations: 125.7 kB / 361.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1294, allocations: 73.58 kB / 361.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.1295, allocations: 90.42 kB / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1296, allocations: 0 / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1296, allocations: 3.938 kB / 361.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1296, allocations: 4 kB / 361.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1297, allocations: 177.6 kB / 361.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1298, allocations: 0 / 361.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.1298, allocations: 4 kB / 361.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1298, allocations: 4 kB / 361.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1298, allocations: 0 / 361.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1298, allocations: 4 kB / 361.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1298, allocations: 0 / 361.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.13, allocations: 108.9 kB / 361.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.1301, allocations: 97 kB / 361.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1301, allocations: 3.938 kB / 361.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.1301, allocations: 0 / 361.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.1301, allocations: 0 / 361.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1302, allocations: 4 kB / 361.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.099e-05/0.1302, allocations: 122.8 kB / 362 MB, free: 8.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1302, allocations: 0 / 362 MB, free: 8.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1305, allocations: 16 kB / 362 MB, free: 8.785 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.0001721/0.1307, allocations: 119.2 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1308, allocations: 47.91 kB / 362.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1308, allocations: 0 / 362.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.1308, allocations: 4 kB / 362.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1312, allocations: 77.64 kB / 362.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1315, allocations: 203.6 kB / 362.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1319, allocations: 0.7004 MB / 363.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.132, allocations: 4.953 kB / 363.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.132, allocations: 11.44 kB / 363.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.132, allocations: 4 kB / 363.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of Templates: time 0.003949/0.136, allocations: 1.275 MB / 364.5 MB, free: 6.277 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/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