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.001098/0.001098, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001065/0.001065, allocations: 198 kB / 18.07 MB, free: 5.434 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.637/1.637, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001368/0.001368, allocations: 55.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 46.62 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.005322/0.132, allocations: 1.571 MB / 328.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1339, allocations: 0.5819 MB / 328.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.134, allocations: 4 kB / 328.7 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.1342, allocations: 7.875 kB / 328.8 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.1343, allocations: 15.84 kB / 328.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008763/0.1352, allocations: 119.8 kB / 328.9 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1355, allocations: 115.6 kB / 329 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.1356, allocations: 9.125 kB / 329 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.1357, allocations: 47.77 kB / 329.1 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.1358, allocations: 55.75 kB / 329.1 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1358, allocations: 4 kB / 329.1 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.1363, allocations: 123.8 kB / 329.2 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1364, allocations: 23.91 kB / 329.3 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.1365, allocations: 55.67 kB / 329.3 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.137, allocations: 207.6 kB / 329.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1371, allocations: 0 / 329.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1371, allocations: 0 / 329.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1371, allocations: 0 / 329.5 MB, free: 1.949 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.00117/0.1383, allocations: 458.9 kB / 330 MB, free: 1.449 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/0.1384, allocations: 8.031 kB / 330 MB, free: 1.441 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.1389, allocations: 36.81 kB / 330 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1392, allocations: 207.9 kB / 330.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.1392, allocations: 4.375 kB / 330.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1393, allocations: 8.375 kB / 330.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.1396, allocations: 115.9 kB / 330.3 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1397, allocations: 192 / 330.3 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.1397, allocations: 3.938 kB / 330.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1397, allocations: 0 / 330.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1399, allocations: 63.89 kB / 330.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.1408, allocations: 369.5 kB / 330.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.1412, allocations: 125 kB / 330.9 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1413, allocations: 61.75 kB / 330.9 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1413, allocations: 0 / 330.9 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.1417, allocations: 145.1 kB / 331.1 MB, free: 184 kB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 4.829e-06/0.1417, allocations: 3.984 kB / 331.1 MB, free: 180 kB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007019/0.1424, allocations: 241.4 kB / 331.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.1425, allocations: 93.09 kB / 331.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1428, allocations: 178.3 kB / 331.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.1428, allocations: 45.69 kB / 331.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.143, allocations: 108.5 kB / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.1431, allocations: 43.45 kB / 331.8 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1432, allocations: 53.92 kB / 331.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003565/0.1436, allocations: 338.8 kB / 332.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1438, allocations: 100.4 kB / 332.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.144, allocations: 127.5 kB / 332.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.1445, allocations: 218.8 kB / 332.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1445, allocations: 0 / 332.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005432/0.145, allocations: 297.2 kB / 332.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1451, allocations: 4 kB / 332.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1451, allocations: 3.984 kB / 332.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.1451, allocations: 4 kB / 332.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1453, allocations: 35.92 kB / 332.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1453, allocations: 0 / 332.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.1454, allocations: 23.91 kB / 333 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1454, allocations: 7.984 kB / 333 MB, free: 14.2 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.000177/0.1456, allocations: 149.7 kB / 333.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1456, allocations: 15.8 kB / 333.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.1457, allocations: 13.41 kB / 333.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1457, allocations: 0 / 333.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1457, allocations: 0 / 333.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1457, allocations: 8 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.146, allocations: 209.4 kB / 333.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.146, allocations: 0 / 333.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.146, allocations: 8 kB / 333.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.146, allocations: 0 / 333.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1461, allocations: 0 / 333.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.1461, allocations: 7.984 kB / 333.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1461, allocations: 0 / 333.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.1465, allocations: 221.7 kB / 333.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.1466, allocations: 92.91 kB / 333.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1467, allocations: 8 kB / 333.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.1467, allocations: 7.984 kB / 333.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.1468, allocations: 19.92 kB / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1468, allocations: 0 / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1469, allocations: 123.2 kB / 333.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.147, allocations: 4 kB / 333.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1473, allocations: 51.98 kB / 333.9 MB, free: 13.18 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.000573/0.1479, allocations: 237.5 kB / 334.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.1484, allocations: 191.7 kB / 334.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1484, allocations: 0 / 334.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.1486, allocations: 63.91 kB / 334.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1488, allocations: 12.11 kB / 334.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.1494, allocations: 285.5 kB / 334.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.15, allocations: 0.7122 MB / 335.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.052e-05/0.1501, allocations: 16.86 kB / 335.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.1501, allocations: 19.44 kB / 335.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1501, allocations: 0 / 335.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of Templates: time 0.006059/0.1562, allocations: 2.017 MB / 337.4 MB, free: 9.586 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