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.0009636/0.0009638, allocations: 94.53 kB / 16.95 MB, free: 6.457 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.001137/0.001137, allocations: 182.1 kB / 17.84 MB, free: 6.008 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.748/1.748, allocations: 205.4 MB / 224 MB, free: 13.14 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.0006417/0.0006419, allocations: 16 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1234, allocations: 47.57 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001626/0.1251, allocations: 1.209 MB / 329.6 MB, free: 2.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1262, allocations: 0.547 MB / 330.1 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.1263, allocations: 4 kB / 330.1 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.1264, allocations: 7.938 kB / 330.1 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.1265, allocations: 11.88 kB / 330.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.127, allocations: 123.7 kB / 330.2 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1272, allocations: 107.7 kB / 330.4 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.778e-05/0.1272, allocations: 5.125 kB / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.1273, allocations: 43.77 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1274, allocations: 55.75 kB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1274, allocations: 4 kB / 330.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.1277, allocations: 107.9 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.1277, allocations: 31.84 kB / 330.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.1278, allocations: 49.64 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.128, allocations: 140 kB / 330.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.128, allocations: 0 / 330.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.97e-06/0.128, allocations: 0 / 330.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.128, allocations: 3.938 kB / 330.8 MB, free: 1.625 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.0006049/0.1286, allocations: 434.8 kB / 331.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1287, allocations: 12.03 kB / 331.2 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.129, allocations: 43.81 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1292, allocations: 194.8 kB / 331.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1292, allocations: 4 kB / 331.5 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1292, allocations: 15.92 kB / 331.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1295, allocations: 119.2 kB / 331.6 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1295, allocations: 4 kB / 331.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1295, allocations: 0 / 331.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1295, allocations: 0 / 331.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1297, allocations: 63.95 kB / 331.7 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.1304, allocations: 385.4 kB / 332 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.1307, allocations: 141.2 kB / 332.2 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1308, allocations: 57.69 kB / 332.2 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.1309, allocations: 3.938 kB / 332.2 MB, free: 0 / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.1312, allocations: 141.1 kB / 332.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.1312, allocations: 0 / 332.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005493/0.1317, allocations: 261.5 kB / 332.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.1318, allocations: 85.11 kB / 332.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.132, allocations: 178.3 kB / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.1321, allocations: 49.69 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1322, allocations: 104.5 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.1323, allocations: 51.44 kB / 333.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.1323, allocations: 4 kB / 333.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1324, allocations: 326.8 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.1326, allocations: 104.5 kB / 333.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.1329, allocations: 135.5 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1331, allocations: 112 kB / 333.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1331, allocations: 3.953 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004834/0.1336, allocations: 305.3 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1336, allocations: 8 kB / 334.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1336, allocations: 3.984 kB / 334.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1336, allocations: 0 / 334.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1338, allocations: 39.92 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1338, allocations: 0 / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.1339, allocations: 15.84 kB / 334.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.1339, allocations: 15.98 kB / 334.1 MB, free: 14.01 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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.1341, allocations: 141.8 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1341, allocations: 23.7 kB / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.1341, allocations: 9.406 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1342, allocations: 4 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1342, allocations: 0 / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1342, allocations: 0 / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1344, allocations: 217.5 kB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1344, allocations: 7.938 kB / 334.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.1345, allocations: 11.95 kB / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1345, allocations: 0 / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1345, allocations: 0 / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1345, allocations: 7.984 kB / 334.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1345, allocations: 0 / 334.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.1349, allocations: 217.8 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.1349, allocations: 96.84 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.135, allocations: 15.95 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.135, allocations: 7.984 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1351, allocations: 11.98 kB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1351, allocations: 3.938 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.1352, allocations: 131.2 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1352, allocations: 0 / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1355, allocations: 47.98 kB / 335.1 MB, free: 12.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004864/0.136, allocations: 224.9 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.1365, allocations: 195.9 kB / 335.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1365, allocations: 4.062 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1366, allocations: 63.91 kB / 335.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.1368, allocations: 11.94 kB / 335.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.1373, allocations: 275 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1376, allocations: 0.7083 MB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.1377, allocations: 20.86 kB / 336.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1377, allocations: 15.44 kB / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1377, allocations: 0 / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of Templates: time 0.005391/0.1431, allocations: 1.966 MB / 338.5 MB, free: 9.441 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/jenkins/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