Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.00126/0.00126, allocations: 189.9 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 224.7 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 47.94 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1248, allocations: 46.63 MB / 327.4 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002734/0.1276, allocations: 1.565 MB / 329 MB, free: 3.191 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1287, allocations: 0.5694 MB / 329.6 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.1288, allocations: 0 / 329.6 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1289, allocations: 3.938 kB / 329.6 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.129, allocations: 15.86 kB / 329.6 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.1295, allocations: 127.8 kB / 329.7 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1297, allocations: 123.5 kB / 329.8 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.1297, allocations: 17.11 kB / 329.8 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.1298, allocations: 47.83 kB / 329.9 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.1299, allocations: 59.75 kB / 330 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1299, allocations: 8 kB / 330 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.1301, allocations: 123.8 kB / 330.1 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.1302, allocations: 39.83 kB / 330.1 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.1303, allocations: 55.67 kB / 330.2 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1305, allocations: 155.9 kB / 330.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1305, allocations: 0 / 330.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1305, allocations: 0 / 330.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1305, allocations: 4 kB / 330.3 MB, free: 1.852 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006397/0.1312, allocations: 458.8 kB / 330.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1312, allocations: 12.03 kB / 330.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.1315, allocations: 32.81 kB / 330.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1317, allocations: 204 kB / 331 MB, free: 1.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1317, allocations: 8.375 kB / 331 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1318, allocations: 4.375 kB / 331 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.132, allocations: 111.9 kB / 331.1 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.132, allocations: 4.188 kB / 331.1 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.132, allocations: 7.922 kB / 331.2 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.132, allocations: 0 / 331.2 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1322, allocations: 55.91 kB / 331.2 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.1328, allocations: 373.6 kB / 331.6 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1331, allocations: 133 kB / 331.7 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1332, allocations: 57.77 kB / 331.8 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.1332, allocations: 0 / 331.8 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.1335, allocations: 145 kB / 331.9 MB, free: 84 kB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1335, allocations: 0 / 331.9 MB, free: 84 kB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005037/0.134, allocations: 233.6 kB / 332.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.1341, allocations: 100.9 kB / 332.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1343, allocations: 178.2 kB / 332.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.1343, allocations: 45.69 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.1344, allocations: 108.5 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1345, allocations: 43.45 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.1346, allocations: 57.91 kB / 332.7 MB, free: 15.28 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1347, allocations: 330.8 kB / 333 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1349, allocations: 100.5 kB / 333.1 MB, free: 14.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.1351, allocations: 127.5 kB / 333.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.1354, allocations: 222.8 kB / 333.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1354, allocations: 0 / 333.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000453/0.1359, allocations: 285.3 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1359, allocations: 8 kB / 333.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1359, allocations: 0 / 333.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1359, allocations: 0 / 333.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1361, allocations: 31.97 kB / 333.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1361, allocations: 16 kB / 333.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.1362, allocations: 19.84 kB / 333.8 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1362, allocations: 8.031 kB / 333.8 MB, free: 14.12 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001444/0.1364, allocations: 149.8 kB / 333.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1364, allocations: 15.81 kB / 333.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1364, allocations: 17.39 kB / 334 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1364, allocations: 0 / 334 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1365, allocations: 7.938 kB / 334 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1365, allocations: 3.938 kB / 334 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1367, allocations: 213.4 kB / 334.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1367, allocations: 0 / 334.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.1367, allocations: 7.984 kB / 334.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1367, allocations: 4 kB / 334.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1368, allocations: 0 / 334.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1368, allocations: 0 / 334.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1368, allocations: 0 / 334.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1371, allocations: 221.7 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.1372, allocations: 88.92 kB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1372, allocations: 15.98 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.1373, allocations: 4 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.1373, allocations: 15.92 kB / 334.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1374, allocations: 7.984 kB / 334.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.609e-05/0.1375, allocations: 123.2 kB / 334.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1375, allocations: 0 / 334.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1377, allocations: 52 kB / 334.7 MB, free: 13.09 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004837/0.1382, allocations: 233.3 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.1386, allocations: 199.7 kB / 335.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1387, allocations: 4 kB / 335.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1388, allocations: 64.03 kB / 335.2 MB, free: 12.6 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.139, allocations: 8 kB / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1395, allocations: 321.6 kB / 335.5 MB, free: 12.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1398, allocations: 0.708 MB / 336.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1398, allocations: 15.38 kB / 336.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1398, allocations: 3.938 kB / 336.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Templates: time 0.004474/0.1443, allocations: 2.44 MB / 338.7 MB, free: 9.043 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches