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.001017/0.001017, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008573/0.0008573, allocations: 97.61 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.939e-05, allocations: 4 kB / 343.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 51.48 MB / 395.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4702, allocations: 77.51 MB / 472.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4705, allocations: 70.53 kB / 472.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.4905, allocations: 8.386 MB / 481.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4905, allocations: 1.688 kB / 481.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4905, allocations: 4 kB / 481.1 MB, free: 8.359 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.0008006/0.4913, allocations: 0.5876 MB / 481.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4914, allocations: 12.03 kB / 481.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.4921, allocations: 110.5 kB / 481.8 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4923, allocations: 253.8 kB / 482.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4923, allocations: 4 kB / 482.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.4924, allocations: 23.41 kB / 482.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001713/0.4925, allocations: 110.3 kB / 482.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.4928, allocations: 237.6 kB / 482.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4928, allocations: 3.938 kB / 482.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.4929, allocations: 3.984 kB / 482.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4929, allocations: 4 kB / 482.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.4939, allocations: 0.7894 MB / 483.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.4942, allocations: 295.8 kB / 483.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4943, allocations: 140.1 kB / 483.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4944, allocations: 11.92 kB / 483.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.4947, allocations: 302.1 kB / 484 MB, free: 5.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 2.043e-06/0.4947, allocations: 0.6562 kB / 484 MB, free: 5.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005158/0.4952, allocations: 441.5 kB / 484.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.4953, allocations: 219 kB / 484.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4955, allocations: 284.4 kB / 484.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.4956, allocations: 76.28 kB / 485 MB, free: 4.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.4957, allocations: 162.7 kB / 485.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.4958, allocations: 120.1 kB / 485.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.4958, allocations: 2.812 kB / 485.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.4959, allocations: 363.1 kB / 485.6 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.4961, allocations: 210.2 kB / 485.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.4964, allocations: 289.5 kB / 486.1 MB, free: 3.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.4969, allocations: 262.6 kB / 486.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4969, allocations: 0 / 486.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000883/0.4978, allocations: 0.6274 MB / 487 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4978, allocations: 4 kB / 487 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.4978, allocations: 7.938 kB / 487 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4979, allocations: 4 kB / 487 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.4981, allocations: 75.39 kB / 487.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4982, allocations: 7.938 kB / 487.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.4983, allocations: 55.62 kB / 487.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.4984, allocations: 31.69 kB / 487.2 MB, free: 2.992 MB / 346.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.0001218/0.4985, allocations: 180.1 kB / 487.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4986, allocations: 39.53 kB / 487.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.4986, allocations: 29.7 kB / 487.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.4986, allocations: 4 kB / 487.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4986, allocations: 4 kB / 487.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4987, allocations: 3.984 kB / 487.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.4989, allocations: 296.5 kB / 487.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4989, allocations: 0 / 487.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.499, allocations: 35.94 kB / 487.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.499, allocations: 4 kB / 487.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.499, allocations: 10.92 kB / 487.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4991, allocations: 11.92 kB / 487.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4991, allocations: 0 / 487.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.4995, allocations: 0.5461 MB / 488.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.4996, allocations: 116.5 kB / 488.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.4997, allocations: 34.61 kB / 488.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4998, allocations: 29.66 kB / 488.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.4999, allocations: 46.12 kB / 488.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.4999, allocations: 19.92 kB / 488.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.5001, allocations: 199.8 kB / 488.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5001, allocations: 0 / 488.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.5004, allocations: 95.36 kB / 488.9 MB, free: 1.402 MB / 346.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.0004252/0.5009, allocations: 272.3 kB / 489.1 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.5014, allocations: 0.6114 MB / 489.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5015, allocations: 384 / 489.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.5016, allocations: 159.4 kB / 489.9 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.5018, allocations: 17.22 kB / 489.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.5023, allocations: 437 kB / 490.3 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.5026, allocations: 0.7959 MB / 491.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.5027, allocations: 43.02 kB / 491.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.5028, allocations: 33.86 kB / 491.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5028, allocations: 0 / 491.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Templates: time 0.007442/0.5103, allocations: 4.102 MB / 495.3 MB, free: 11.23 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