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.001055/0.001055, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008872/0.0008874, allocations: 103.2 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.778e-05, allocations: 8 kB / 350.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.461, allocations: 78.18 MB / 480.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4613, allocations: 68.89 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.4809, allocations: 8.408 MB / 488.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.481, allocations: 0 / 488.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.481, allocations: 4 kB / 488.7 MB, free: 3.973 MB / 346.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.0008046/0.4818, allocations: 0.5939 MB / 489.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4819, allocations: 8.031 kB / 489.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.4826, allocations: 119.4 kB / 489.4 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.4828, allocations: 246.6 kB / 489.6 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.4828, allocations: 15.42 kB / 489.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.4829, allocations: 30.61 kB / 489.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.4832, allocations: 248.2 kB / 489.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4833, allocations: 0 / 489.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.4833, allocations: 11.23 kB / 489.9 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4833, allocations: 4 kB / 489.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.4835, allocations: 118.8 kB / 490.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.4846, allocations: 0.8335 MB / 490.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.485, allocations: 315.2 kB / 491.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.4851, allocations: 138.4 kB / 491.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.4852, allocations: 7.562 kB / 491.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.4855, allocations: 309.9 kB / 491.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.673e-06/0.4855, allocations: 4 kB / 491.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.000594/0.4861, allocations: 452.3 kB / 492.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.4862, allocations: 214.6 kB / 492.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.4865, allocations: 301.9 kB / 492.6 MB, free: 288 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.4866, allocations: 86.95 kB / 492.7 MB, free: 212 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.4867, allocations: 165.1 kB / 492.8 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.4868, allocations: 126.5 kB / 493 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4868, allocations: 16 kB / 493 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.487, allocations: 362.7 kB / 493.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.4874, allocations: 221.5 kB / 493.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.4878, allocations: 310.5 kB / 493.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.4882, allocations: 258.6 kB / 494.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4882, allocations: 0 / 494.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001038/0.4893, allocations: 0.6596 MB / 494.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4893, allocations: 11.98 kB / 494.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.4893, allocations: 7.938 kB / 494.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4894, allocations: 4 kB / 494.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.4897, allocations: 73.58 kB / 494.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.4897, allocations: 11.94 kB / 494.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.4899, allocations: 69.5 kB / 494.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.49, allocations: 31.98 kB / 495 MB, free: 13.9 MB / 362.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 () * 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.0001935/0.4902, allocations: 201.4 kB / 495.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.4903, allocations: 35.53 kB / 495.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.4903, allocations: 30.83 kB / 495.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4903, allocations: 4 kB / 495.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4904, allocations: 4 kB / 495.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4904, allocations: 0 / 495.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.4907, allocations: 349.1 kB / 495.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.4908, allocations: 4 kB / 495.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.4909, allocations: 27.98 kB / 495.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.4909, allocations: 4 kB / 495.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.4909, allocations: 11.98 kB / 495.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.491, allocations: 3.938 kB / 495.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.491, allocations: 5.969 kB / 495.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.4917, allocations: 0.5573 MB / 496.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.4918, allocations: 124.5 kB / 496.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.4919, allocations: 44.45 kB / 496.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.492, allocations: 19.98 kB / 496.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4921, allocations: 43.88 kB / 496.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.4922, allocations: 19.98 kB / 496.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.4924, allocations: 218.2 kB / 496.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4924, allocations: 4 kB / 496.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.4928, allocations: 103.9 kB / 496.8 MB, free: 11.97 MB / 362.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]) * 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.0005772/0.4934, allocations: 272 kB / 497 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007774/0.4942, allocations: 0.6405 MB / 497.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4942, allocations: 384 / 497.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.4945, allocations: 167.8 kB / 497.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.4947, allocations: 25.16 kB / 497.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.4954, allocations: 432 kB / 498.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4957, allocations: 0.8008 MB / 499.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4959, allocations: 48.53 kB / 499.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.496, allocations: 31.42 kB / 499.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.496, allocations: 0 / 499.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of Templates: time 0.008318/0.5043, allocations: 4.332 MB / 0.4917 GB, free: 5.262 MB / 362.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/jenkins/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