Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.00161/0.00161, allocations: 191 kB / 18.63 MB, free: 4.375 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.411/1.411, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009838/0.0009838, allocations: 51.52 kB / 302.1 MB, free: 5.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1035, allocations: 49.44 MB / 351.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002491/0.1061, allocations: 1.48 MB / 353 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.1071, allocations: 0.5705 MB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.1071, allocations: 0 / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.503e-05/0.1072, allocations: 11.81 kB / 353.6 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.1073, allocations: 23.86 kB / 353.6 MB, free: 1.66 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.1078, allocations: 143.5 kB / 353.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1079, allocations: 111.7 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.108, allocations: 9.125 kB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.108, allocations: 51.77 kB / 353.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.1085, allocations: 69.52 kB / 354 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1085, allocations: 12 kB / 354 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1087, allocations: 107.8 kB / 354.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.1088, allocations: 35.89 kB / 354.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.1089, allocations: 55.67 kB / 354.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1092, allocations: 199.4 kB / 354.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1092, allocations: 0 / 354.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1092, allocations: 0 / 354.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1092, allocations: 0 / 354.4 MB, free: 0.8828 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005891/0.1098, allocations: 458.7 kB / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1098, allocations: 12.03 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.1101, allocations: 32.81 kB / 354.9 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1103, allocations: 212 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1103, allocations: 8.375 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1103, allocations: 7.938 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1106, allocations: 118.2 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1106, allocations: 0 / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1106, allocations: 4 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1106, allocations: 0 / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1108, allocations: 59.95 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.1114, allocations: 369.3 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1117, allocations: 125.2 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1118, allocations: 61.69 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1118, allocations: 7.938 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.112, allocations: 141 kB / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.112, allocations: 0 / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004716/0.1125, allocations: 233.4 kB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.1126, allocations: 97.09 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1127, allocations: 174.1 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.1128, allocations: 45.69 kB / 356.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.1129, allocations: 108.6 kB / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1129, allocations: 47.38 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.113, allocations: 57.92 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1131, allocations: 330.8 kB / 357 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1133, allocations: 96.47 kB / 357.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.1135, allocations: 137.5 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.1138, allocations: 211.5 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1138, allocations: 0 / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004455/0.1143, allocations: 285.3 kB / 357.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1143, allocations: 6.719 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1143, allocations: 8 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1143, allocations: 0 / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1145, allocations: 31.92 kB / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1145, allocations: 4 kB / 357.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.1146, allocations: 23.72 kB / 357.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1146, allocations: 15.98 kB / 357.8 MB, free: 13.15 MB / 302.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.000121/0.1147, allocations: 153.8 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1148, allocations: 11.81 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.1148, allocations: 13.41 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1148, allocations: 0 / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1148, allocations: 4 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1148, allocations: 3.938 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.115, allocations: 213.5 kB / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.115, allocations: 0 / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.1151, allocations: 8 kB / 358.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1151, allocations: 0 / 358.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1151, allocations: 8 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1151, allocations: 3.984 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1151, allocations: 3.938 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.1154, allocations: 217.7 kB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1155, allocations: 92.91 kB / 358.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1155, allocations: 8 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.1156, allocations: 11.98 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1157, allocations: 15.92 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.1157, allocations: 0 / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.579e-05/0.1158, allocations: 132.2 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1158, allocations: 0 / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.116, allocations: 43.98 kB / 358.7 MB, free: 12.12 MB / 302.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.0003574/0.1164, allocations: 209.6 kB / 358.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.1168, allocations: 191.8 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1168, allocations: 8.062 kB / 359.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.117, allocations: 63.95 kB / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.1171, allocations: 13.81 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.1175, allocations: 251.8 kB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1178, allocations: 0.708 MB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.1179, allocations: 20.88 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.1179, allocations: 15.44 kB / 360.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1179, allocations: 0 / 360.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Templates: time 0.004604/0.1225, allocations: 1.954 MB / 362.2 MB, free: 8.668 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches