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.0009212/0.0009213, allocations: 97.83 kB / 16.94 MB, free: 5.98 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.0009503/0.0009503, allocations: 177.1 kB / 17.82 MB, free: 5.652 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.656/1.656, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005428/0.0005431, allocations: 11.98 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 47.59 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001789/0.1296, allocations: 1.207 MB / 329.5 MB, free: 2.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1307, allocations: 0.5385 MB / 330.1 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.1308, allocations: 4 kB / 330.1 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1309, allocations: 7.875 kB / 330.1 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.1309, allocations: 15.97 kB / 330.1 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.1314, allocations: 127.5 kB / 330.2 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1316, allocations: 71.84 kB / 330.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.793e-05/0.1317, allocations: 5.125 kB / 330.3 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.1317, allocations: 43.83 kB / 330.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.1318, allocations: 55.75 kB / 330.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1319, allocations: 8 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.1321, allocations: 83.86 kB / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.1321, allocations: 27.91 kB / 330.5 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1322, allocations: 49.58 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1324, allocations: 151.9 kB / 330.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1325, allocations: 0 / 330.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1325, allocations: 0 / 330.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1325, allocations: 0 / 330.7 MB, free: 1.703 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.0007438/0.1332, allocations: 430.8 kB / 331.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1333, allocations: 12.03 kB / 331.1 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.1336, allocations: 39.88 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1338, allocations: 202.8 kB / 331.4 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.1338, allocations: 8 kB / 331.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1339, allocations: 4 kB / 331.4 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1341, allocations: 127.2 kB / 331.5 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1341, allocations: 0 / 331.5 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1342, allocations: 3.984 kB / 331.5 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1342, allocations: 4 kB / 331.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1344, allocations: 63.95 kB / 331.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.1351, allocations: 381.5 kB / 332 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1354, allocations: 141.1 kB / 332.1 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.1354, allocations: 4.062 kB / 332.1 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.1357, allocations: 149 kB / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1357, allocations: 0 / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006048/0.1363, allocations: 399.6 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1364, allocations: 97.33 kB / 332.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1366, allocations: 178.3 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.1367, allocations: 45.69 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1368, allocations: 108.5 kB / 333.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.1368, allocations: 43.45 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.1368, allocations: 4 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.137, allocations: 330.8 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1372, allocations: 100.5 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1374, allocations: 131.5 kB / 333.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1376, allocations: 115.9 kB / 333.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1376, allocations: 7.938 kB / 333.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004706/0.1381, allocations: 305.3 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1382, allocations: 15.92 kB / 334.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1382, allocations: 0 / 334.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1382, allocations: 0 / 334.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1384, allocations: 32.05 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1384, allocations: 0 / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.1385, allocations: 23.78 kB / 334.1 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1385, allocations: 11.98 kB / 334.2 MB, free: 13.96 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.0001467/0.1386, allocations: 141.8 kB / 334.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1387, allocations: 19.77 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.1387, allocations: 13.41 kB / 334.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1387, allocations: 4 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1387, allocations: 0 / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1387, allocations: 4.078 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1389, allocations: 205.5 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1389, allocations: 4 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.139, allocations: 15.94 kB / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.139, allocations: 3.953 kB / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.139, allocations: 3.984 kB / 334.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.139, allocations: 8 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.139, allocations: 0 / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.1394, allocations: 238.9 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1395, allocations: 92.88 kB / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1395, allocations: 11.94 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.1396, allocations: 7.984 kB / 334.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1396, allocations: 15.98 kB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1396, allocations: 3.938 kB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.495e-05/0.1397, allocations: 131.2 kB / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1397, allocations: 0 / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.14, allocations: 51.98 kB / 335.1 MB, free: 12.9 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.0004685/0.1405, allocations: 220.5 kB / 335.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.1409, allocations: 195.8 kB / 335.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1409, allocations: 0 / 335.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1411, allocations: 68.03 kB / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1412, allocations: 11.88 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.1417, allocations: 271 kB / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1421, allocations: 0.716 MB / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.1421, allocations: 12.88 kB / 336.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.1422, allocations: 23.36 kB / 336.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1422, allocations: 0 / 336.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of Templates: time 0.005535/0.1477, allocations: 1.958 MB / 338.6 MB, free: 9.379 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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