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.001189/0.001189, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001152/0.001152, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.429/1.429, allocations: 205.1 MB / 225.1 MB, free: 12.27 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.001419/0.001419, allocations: 51.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09835, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002907/0.1013, allocations: 1.487 MB / 330.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1024, allocations: 0.5584 MB / 330.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.1024, allocations: 0 / 330.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.632e-05/0.1025, allocations: 15.88 kB / 330.8 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.1026, allocations: 11.81 kB / 330.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.1031, allocations: 151.6 kB / 330.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1033, allocations: 115.6 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.1033, allocations: 17.12 kB / 331.1 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/0.1034, allocations: 51.77 kB / 331.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.1034, allocations: 55.75 kB / 331.2 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1035, allocations: 8 kB / 331.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.1037, allocations: 123.8 kB / 331.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.1037, allocations: 35.91 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.1038, allocations: 63.59 kB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1041, allocations: 215.3 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1041, allocations: 0 / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1041, allocations: 0 / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1041, allocations: 0 / 331.6 MB, free: 0.8477 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.0006809/0.1048, allocations: 454.8 kB / 332 MB, free: 360 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1049, allocations: 8.031 kB / 332.1 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.1052, allocations: 40.81 kB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1054, allocations: 207.9 kB / 332.3 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1054, allocations: 8.359 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1054, allocations: 8.375 kB / 332.3 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1057, allocations: 107.9 kB / 332.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1057, allocations: 4.172 kB / 332.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1057, allocations: 7.922 kB / 332.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1057, allocations: 3.938 kB / 332.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1059, allocations: 59.97 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.1065, allocations: 365.5 kB / 332.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1068, allocations: 133 kB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1069, allocations: 53.77 kB / 333 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.107, allocations: 0 / 333 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1072, allocations: 145 kB / 333.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1072, allocations: 0 / 333.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004953/0.1077, allocations: 238 kB / 333.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1078, allocations: 89.09 kB / 333.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1079, allocations: 170.3 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.108, allocations: 53.69 kB / 333.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.1081, allocations: 112.5 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.1081, allocations: 43.45 kB / 333.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.1082, allocations: 53.92 kB / 333.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1083, allocations: 330.8 kB / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1085, allocations: 96.45 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1087, allocations: 131.5 kB / 334.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.1091, allocations: 214.8 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1091, allocations: 3.938 kB / 334.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004634/0.1095, allocations: 297.4 kB / 335 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1096, allocations: 4 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1096, allocations: 0 / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1096, allocations: 4 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1097, allocations: 35.91 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1098, allocations: 3.984 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.1098, allocations: 19.83 kB / 335 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1099, allocations: 8 kB / 335 MB, free: 13.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.0001402/0.11, allocations: 157.6 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.11, allocations: 11.81 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.1101, allocations: 17.48 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1101, allocations: 3.984 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1101, allocations: 4 kB / 335.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1101, allocations: 4 kB / 335.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1103, allocations: 209.5 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1103, allocations: 0 / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.1103, allocations: 11.98 kB / 335.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1104, allocations: 4 kB / 335.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1104, allocations: 0 / 335.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1104, allocations: 4 kB / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1104, allocations: 0 / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1107, allocations: 222.8 kB / 335.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1108, allocations: 88.92 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.1108, allocations: 19.92 kB / 335.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/0.1109, allocations: 4 kB / 335.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1109, allocations: 11.98 kB / 335.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1109, allocations: 7.984 kB / 335.8 MB, free: 12.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.111, allocations: 128.2 kB / 335.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.111, allocations: 0 / 335.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1113, allocations: 55.98 kB / 336 MB, free: 12.08 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.0004248/0.1118, allocations: 227.8 kB / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.1122, allocations: 199.7 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1122, allocations: 0 / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1123, allocations: 63.91 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.1125, allocations: 8 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.1129, allocations: 251.8 kB / 336.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1132, allocations: 0.712 MB / 337.4 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.1132, allocations: 20.94 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.1133, allocations: 23.38 kB / 337.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1133, allocations: 3.938 kB / 337.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of Templates: time 0.004742/0.118, allocations: 2.107 MB / 339.6 MB, free: 8.41 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches