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.001353/0.001353, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001445/0.001445, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.383/1.383, allocations: 205.1 MB / 225 MB, free: 12.3 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.001248/0.001248, allocations: 47.92 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1032, allocations: 46.63 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003221/0.1064, allocations: 1.479 MB / 329.4 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1077, allocations: 0.5514 MB / 330 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.1078, allocations: 0 / 330 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.1079, allocations: 11.86 kB / 330 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.108, allocations: 15.81 kB / 330 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.1086, allocations: 147.6 kB / 330.1 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1088, allocations: 119.6 kB / 330.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.196e-05/0.1089, allocations: 21.05 kB / 330.3 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.109, allocations: 51.83 kB / 330.3 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.109, allocations: 59.75 kB / 330.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1091, allocations: 8 kB / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.1093, allocations: 127.8 kB / 330.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.1094, allocations: 27.92 kB / 330.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.1095, allocations: 55.66 kB / 330.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1098, allocations: 219.6 kB / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1098, allocations: 0 / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1098, allocations: 0 / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1098, allocations: 0 / 330.8 MB, free: 1.574 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.0007025/0.1105, allocations: 454.8 kB / 331.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1106, allocations: 16.02 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.1109, allocations: 32.77 kB / 331.3 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1111, allocations: 207.9 kB / 331.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1112, allocations: 4.375 kB / 331.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1112, allocations: 12.36 kB / 331.5 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.1114, allocations: 115.9 kB / 331.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1115, allocations: 192 / 331.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1115, allocations: 7.938 kB / 331.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1115, allocations: 3.938 kB / 331.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1117, allocations: 55.95 kB / 331.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.1125, allocations: 365.5 kB / 332.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.1128, allocations: 133 kB / 332.2 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.113, allocations: 57.75 kB / 332.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.113, allocations: 4 kB / 332.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.1133, allocations: 137 kB / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1133, allocations: 0 / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005448/0.1139, allocations: 242 kB / 332.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.114, allocations: 89.09 kB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1142, allocations: 178.3 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.1142, allocations: 45.69 kB / 332.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.1143, allocations: 112.5 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.1144, allocations: 35.47 kB / 333.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.1145, allocations: 61.92 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1146, allocations: 334.8 kB / 333.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1148, allocations: 92.47 kB / 333.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.115, allocations: 127.5 kB / 333.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.1154, allocations: 218.8 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1154, allocations: 4 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005048/0.1159, allocations: 297.3 kB / 334.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.116, allocations: 7.984 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.116, allocations: 4.094 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.116, allocations: 3.984 kB / 334.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1162, allocations: 27.92 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1162, allocations: 8.062 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.1163, allocations: 15.84 kB / 334.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.1163, allocations: 19.97 kB / 334.3 MB, free: 13.83 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.0001508/0.1165, allocations: 145.7 kB / 334.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1165, allocations: 15.81 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.1165, allocations: 9.406 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1166, allocations: 4 kB / 334.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1166, allocations: 4 kB / 334.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1166, allocations: 0 / 334.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1168, allocations: 209.4 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1168, allocations: 7.938 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.1169, allocations: 4 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1169, allocations: 0 / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1169, allocations: 11.98 kB / 334.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1169, allocations: 0 / 334.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1169, allocations: 0 / 334.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.1173, allocations: 226.8 kB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.1173, allocations: 88.92 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.1174, allocations: 8 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.1175, allocations: 11.98 kB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.1175, allocations: 11.92 kB / 335 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1175, allocations: 4 kB / 335 MB, free: 12.99 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1176, allocations: 132.2 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1176, allocations: 0 / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.118, allocations: 51.98 kB / 335.2 MB, free: 12.81 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.0005221/0.1185, allocations: 239.4 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.1189, allocations: 207.6 kB / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.119, allocations: 0 / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1191, allocations: 56.11 kB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1193, allocations: 15.98 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.1199, allocations: 285.6 kB / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1202, allocations: 0.7158 MB / 336.7 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.1203, allocations: 15.44 kB / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1203, allocations: 0 / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of Templates: time 0.004811/0.1251, allocations: 2.432 MB / 339.2 MB, free: 8.789 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/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