Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 119.9 kB / 18.45 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189.2 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 51.92 kB / 366.8 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1001, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002301/0.1024, allocations: 0.8903 MB / 419.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000601/0.103, allocations: 255 kB / 420.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.1031, allocations: 7.938 kB / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.1031, allocations: 7.922 kB / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1033, allocations: 11.92 kB / 420.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1037, allocations: 99.47 kB / 420.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1038, allocations: 43.86 kB / 420.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1039, allocations: 19.97 kB / 420.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.104, allocations: 19.88 kB / 420.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.104, allocations: 23.91 kB / 420.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1041, allocations: 4 kB / 420.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1042, allocations: 39.97 kB / 420.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.1042, allocations: 19.92 kB / 420.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1043, allocations: 35.72 kB / 420.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1045, allocations: 95.62 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1045, allocations: 3.938 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1045, allocations: 0 / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1045, allocations: 0 / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005519/0.105, allocations: 387 kB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1051, allocations: 19.83 kB / 420.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1051, allocations: 12.84 kB / 420.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1054, allocations: 206.6 kB / 421.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1054, allocations: 4.375 kB / 421.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1054, allocations: 4.375 kB / 421.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.1057, allocations: 153.5 kB / 421.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1057, allocations: 192 / 421.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1057, allocations: 3.938 kB / 421.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1057, allocations: 0 / 421.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.1058, allocations: 23.92 kB / 421.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.1061, allocations: 269.8 kB / 421.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.1062, allocations: 50.48 kB / 421.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.1063, allocations: 24.89 kB / 421.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.1069, allocations: 0.5739 MB / 422.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.107, allocations: 34.5 kB / 422.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.107, allocations: 4 kB / 422.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002187/0.1072, allocations: 93.58 kB / 422.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1073, allocations: 55.41 kB / 422.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1074, allocations: 145.8 kB / 422.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1074, allocations: 25.7 kB / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.1075, allocations: 88.14 kB / 422.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1075, allocations: 11.94 kB / 422.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1075, allocations: 21.72 kB / 422.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1077, allocations: 330.8 kB / 423 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.1077, allocations: 19.92 kB / 423.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1078, allocations: 62 kB / 423.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.1079, allocations: 77.94 kB / 423.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1079, allocations: 0 / 423.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001635/0.108, allocations: 113.6 kB / 423.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.108, allocations: 8 kB / 423.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.108, allocations: 4.172 kB / 423.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1081, allocations: 4 kB / 423.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.1081, allocations: 15.94 kB / 423.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1082, allocations: 4 kB / 423.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.1082, allocations: 15.89 kB / 423.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1082, allocations: 7.938 kB / 423.4 MB, free: 7.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001169/0.1083, allocations: 133.8 kB / 423.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1084, allocations: 77.7 kB / 423.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.1086, allocations: 82.33 kB / 423.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1086, allocations: 4 kB / 423.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1086, allocations: 0 / 423.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1086, allocations: 3.984 kB / 423.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1087, allocations: 173.6 kB / 423.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1087, allocations: 0 / 423.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.1088, allocations: 7.984 kB / 423.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1088, allocations: 4 kB / 423.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1088, allocations: 4 kB / 423.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1088, allocations: 0 / 423.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1088, allocations: 0 / 423.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1089, allocations: 105 kB / 423.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.109, allocations: 105 kB / 424 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.109, allocations: 0 / 424 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.1091, allocations: 4 kB / 424 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.1091, allocations: 0 / 424 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1091, allocations: 4 kB / 424.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.862e-05/0.1092, allocations: 125.2 kB / 424.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1092, allocations: 0 / 424.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1094, allocations: 20 kB / 424.2 MB, free: 6.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0001727/0.1096, allocations: 111.2 kB / 424.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1097, allocations: 43.92 kB / 424.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1097, allocations: 448 / 424.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1097, allocations: 4 kB / 424.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1101, allocations: 86.16 kB / 424.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.1104, allocations: 207 kB / 424.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1108, allocations: 0.7117 MB / 425.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.1108, allocations: 11.44 kB / 425.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1108, allocations: 0 / 425.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Templates: time 0.003238/0.114, allocations: 1.301 MB / 426.7 MB, free: 3.797 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.444348706165329]