Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 103.4 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 46.09 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 49.44 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002474/0.1197, allocations: 0.9288 MB / 350.5 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.1202, allocations: 255.1 kB / 350.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.1203, allocations: 4 kB / 350.8 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.674e-05/0.1204, allocations: 7.922 kB / 350.8 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1206, allocations: 3.938 kB / 350.8 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.121, allocations: 89.72 kB / 350.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1212, allocations: 47.86 kB / 350.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1213, allocations: 15.98 kB / 350.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.1213, allocations: 19.92 kB / 350.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1214, allocations: 23.86 kB / 351 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1214, allocations: 4 kB / 351 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.1215, allocations: 39.91 kB / 351 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.1216, allocations: 23.91 kB / 351 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.1217, allocations: 31.8 kB / 351.1 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1218, allocations: 91.69 kB / 351.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1218, allocations: 4 kB / 351.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1218, allocations: 0 / 351.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1219, allocations: 0 / 351.2 MB, free: 3.176 MB / 286.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.0005859/0.1224, allocations: 385.7 kB / 351.5 MB, free: 2.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1225, allocations: 15.89 kB / 351.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1225, allocations: 8.844 kB / 351.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1228, allocations: 196.1 kB / 351.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1228, allocations: 8.375 kB / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1228, allocations: 8.375 kB / 351.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1232, allocations: 145.5 kB / 351.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1232, allocations: 4.125 kB / 351.9 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1232, allocations: 3.938 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1232, allocations: 4 kB / 351.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.1233, allocations: 27.92 kB / 351.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1236, allocations: 265.8 kB / 352.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.1237, allocations: 46.45 kB / 352.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.1237, allocations: 28.89 kB / 352.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/0.1244, allocations: 0.5895 MB / 352.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1244, allocations: 34.56 kB / 352.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1244, allocations: 0 / 352.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001991/0.1246, allocations: 89.64 kB / 353 MB, free: 1.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1247, allocations: 63.31 kB / 353 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1248, allocations: 152.9 kB / 353.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1249, allocations: 29.7 kB / 353.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1249, allocations: 88.14 kB / 353.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1249, allocations: 7.984 kB / 353.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.125, allocations: 29.62 kB / 353.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1251, allocations: 326.8 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.1252, allocations: 19.98 kB / 353.7 MB, free: 288 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.1252, allocations: 62 kB / 353.7 MB, free: 204 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.1253, allocations: 81.88 kB / 353.8 MB, free: 100 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1253, allocations: 4 kB / 353.8 MB, free: 96 kB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001599/0.1255, allocations: 109.4 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1255, allocations: 4 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1255, allocations: 3.938 kB / 353.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1255, allocations: 8.219 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.1256, allocations: 19.94 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1256, allocations: 0 / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.1257, allocations: 11.94 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1257, allocations: 7.984 kB / 354 MB, free: 15.93 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.0001011/0.1258, allocations: 129.7 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1259, allocations: 69.53 kB / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.1261, allocations: 86.38 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1261, allocations: 4 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1261, allocations: 4 kB / 354.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1261, allocations: 0 / 354.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1262, allocations: 177.5 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1263, allocations: 4 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1263, allocations: 4 kB / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1263, allocations: 0 / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1263, allocations: 0 / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1263, allocations: 192 / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1263, allocations: 0 / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1265, allocations: 116.8 kB / 354.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.1266, allocations: 100.9 kB / 354.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1266, allocations: 0 / 354.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.1266, allocations: 4 kB / 354.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-06/0.1266, allocations: 0 / 354.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1266, allocations: 0 / 354.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.1267, allocations: 120.5 kB / 354.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1267, allocations: 0 / 354.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.127, allocations: 20 kB / 354.8 MB, free: 14.99 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.0001621/0.1271, allocations: 119.2 kB / 354.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1273, allocations: 55.84 kB / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1273, allocations: 0 / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1273, allocations: 0 / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1277, allocations: 85.11 kB / 355.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.128, allocations: 205.3 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.1284, allocations: 0.7041 MB / 356 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.621e-05/0.1284, allocations: 4.953 kB / 356 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.1285, allocations: 15.44 kB / 356 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1285, allocations: 0 / 356 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Templates: time 0.00383/0.1323, allocations: 1.328 MB / 357.3 MB, free: 12.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches