Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed") translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 196.5 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007775/0.0007774, allocations: 101.9 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002546, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3418, allocations: 78.18 MB / 487.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3421, allocations: 71.95 kB / 487.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02129/0.3634, allocations: 8.399 MB / 496 MB, free: 4.809 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.3635, allocations: 0 / 496 MB, free: 4.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3635, allocations: 7.938 kB / 496 MB, free: 4.801 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001179/0.3647, allocations: 0.6397 MB / 496.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3647, allocations: 12.03 kB / 496.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.3655, allocations: 112.4 kB / 496.8 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3658, allocations: 260.2 kB / 497 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.3658, allocations: 20.53 kB / 497.1 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.3659, allocations: 16.38 kB / 497.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.3665, allocations: 306.8 kB / 497.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3665, allocations: 0 / 497.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.3665, allocations: 4 kB / 497.4 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3665, allocations: 7.984 kB / 497.4 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.367, allocations: 191.8 kB / 497.6 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3684, allocations: 0.8424 MB / 498.4 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.3693, allocations: 428.6 kB / 498.8 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.3696, allocations: 185.1 kB / 499 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3697, allocations: 7.938 kB / 499 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.3702, allocations: 352.9 kB / 499.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.3703, allocations: 4 kB / 499.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001402/0.3717, allocations: 0.6696 MB / 0.4883 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3718, allocations: 223.8 kB / 0.4885 GB, free: 236 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.3722, allocations: 340.3 kB / 0.4889 GB, free: 15.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.3723, allocations: 81.66 kB / 0.4889 GB, free: 15.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3725, allocations: 165.2 kB / 0.4891 GB, free: 15.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3726, allocations: 121.6 kB / 0.4892 GB, free: 15.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3727, allocations: 16 kB / 0.4892 GB, free: 15.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3728, allocations: 362.7 kB / 0.4896 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.3734, allocations: 265.5 kB / 0.4898 GB, free: 14.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.3739, allocations: 355.1 kB / 0.4902 GB, free: 14.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3749, allocations: 0.5784 MB / 0.4907 GB, free: 13.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.375, allocations: 0 / 0.4907 GB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001312/0.3763, allocations: 0.7489 MB / 0.4915 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3763, allocations: 8 kB / 0.4915 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.3764, allocations: 7.984 kB / 0.4915 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3764, allocations: 4 kB / 0.4915 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3767, allocations: 75.83 kB / 0.4916 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3767, allocations: 4 kB / 0.4916 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.377, allocations: 75.34 kB / 0.4916 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.3771, allocations: 35.98 kB / 0.4917 GB, free: 12.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.3774, allocations: 222.2 kB / 0.4919 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.3775, allocations: 47.52 kB / 0.4919 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.3775, allocations: 30.7 kB / 0.492 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3776, allocations: 4 kB / 0.492 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3776, allocations: 0 / 0.492 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3776, allocations: 3.938 kB / 0.492 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.378, allocations: 341.2 kB / 0.4923 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.378, allocations: 0 / 0.4923 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3782, allocations: 35.97 kB / 0.4923 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3782, allocations: 8 kB / 0.4923 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.3782, allocations: 7.984 kB / 0.4923 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3782, allocations: 4 kB / 0.4923 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3782, allocations: 3.938 kB / 0.4923 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.3792, allocations: 0.5863 MB / 0.4929 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.3793, allocations: 120.5 kB / 0.493 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.3794, allocations: 31.97 kB / 0.4931 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3796, allocations: 23.98 kB / 0.4931 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3797, allocations: 51.81 kB / 0.4931 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.3797, allocations: 15.98 kB / 0.4931 GB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.38, allocations: 219.1 kB / 0.4934 GB, free: 11.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 0 / 0.4934 GB, free: 11.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004759/0.3804, allocations: 111.9 kB / 0.4935 GB, free: 11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006492/0.3811, allocations: 271.7 kB / 0.4937 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3823, allocations: 0.7219 MB / 0.4944 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3823, allocations: 4 kB / 0.4944 GB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.3827, allocations: 200.2 kB / 0.4946 GB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.383, allocations: 23.73 kB / 0.4946 GB, free: 9.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3841, allocations: 0.638 MB / 0.4953 GB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3845, allocations: 0.7845 MB / 0.496 GB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3846, allocations: 46.94 kB / 0.4961 GB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.3847, allocations: 35.42 kB / 0.4961 GB, free: 8.203 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3847, allocations: 4 kB / 0.4961 GB, free: 8.199 MB / 378.7 MB Notification: Performance of Templates: time 0.009509/0.3942, allocations: 4.301 MB / 0.5003 GB, free: 3.918 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches