Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007806/0.0007806, allocations: 100.1 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.239, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09318/0.3322, allocations: 76.52 MB / 452.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.3324, allocations: 71.95 kB / 452.4 MB, free: 4.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02049/0.353, allocations: 8.145 MB / 460.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.353, allocations: 0 / 460.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.353, allocations: 8 kB / 460.6 MB, free: 11.88 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.0009796/0.354, allocations: 0.6434 MB / 461.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.354, allocations: 8.031 kB / 461.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/0.3547, allocations: 115.4 kB / 461.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.355, allocations: 255.1 kB / 461.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.3551, allocations: 20.12 kB / 461.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.3551, allocations: 19.98 kB / 461.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.3556, allocations: 292.4 kB / 461.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3557, allocations: 0 / 461.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3557, allocations: 7.938 kB / 461.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3557, allocations: 7.938 kB / 461.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.3562, allocations: 195.8 kB / 462.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3576, allocations: 0.8428 MB / 462.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.3584, allocations: 423.6 kB / 463.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3584, allocations: 15.98 kB / 463.4 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.359, allocations: 349.8 kB / 463.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.359, allocations: 0 / 463.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.00159/0.3606, allocations: 1.157 MB / 464.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.3607, allocations: 223.9 kB / 465.1 MB, free: 6.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.3611, allocations: 291.5 kB / 465.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.3612, allocations: 85.66 kB / 465.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3613, allocations: 165.3 kB / 465.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3614, allocations: 122.5 kB / 465.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.3615, allocations: 16 kB / 465.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3617, allocations: 363.3 kB / 466.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.3621, allocations: 273.5 kB / 466.4 MB, free: 5.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.3627, allocations: 351.1 kB / 466.7 MB, free: 5.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.3632, allocations: 310.5 kB / 467 MB, free: 4.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3632, allocations: 0 / 467 MB, free: 4.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001299/0.3645, allocations: 0.7603 MB / 467.8 MB, free: 4.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3646, allocations: 4 kB / 467.8 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.3646, allocations: 11.98 kB / 467.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3646, allocations: 8 kB / 467.8 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3649, allocations: 79.98 kB / 467.9 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.365, allocations: 4 kB / 467.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3652, allocations: 59.52 kB / 467.9 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.3653, allocations: 35.98 kB / 468 MB, free: 3.965 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 () * 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.000252/0.3655, allocations: 214.3 kB / 468.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.3656, allocations: 43.52 kB / 468.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.3657, allocations: 34.7 kB / 468.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3657, allocations: 7.938 kB / 468.3 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3657, allocations: 4 kB / 468.3 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3657, allocations: 4 kB / 468.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.3661, allocations: 345 kB / 468.6 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.3661, allocations: 7.984 kB / 468.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3662, allocations: 27.98 kB / 468.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3662, allocations: 0 / 468.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3663, allocations: 15.98 kB / 468.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3663, allocations: 0 / 468.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3663, allocations: 4 kB / 468.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.3672, allocations: 0.6417 MB / 469.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.3673, allocations: 120.5 kB / 469.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.3674, allocations: 35.91 kB / 469.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3676, allocations: 23.98 kB / 469.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3677, allocations: 43.94 kB / 469.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3678, allocations: 19.92 kB / 469.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.368, allocations: 219.1 kB / 469.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.368, allocations: 0 / 469.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.3684, allocations: 123.9 kB / 469.9 MB, free: 1.906 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]) * 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.0005497/0.369, allocations: 282.1 kB / 470.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3701, allocations: 0.7181 MB / 470.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3701, allocations: 4 kB / 470.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.3705, allocations: 200.2 kB / 471.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.3707, allocations: 25.03 kB / 471.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.3716, allocations: 0.6379 MB / 471.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.372, allocations: 0.7929 MB / 472.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.3722, allocations: 50.94 kB / 472.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.3722, allocations: 31.42 kB / 472.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.775e-06/0.3723, allocations: 0 / 472.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Templates: time 0.008765/0.381, allocations: 4.385 MB / 477 MB, free: 10.7 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/AutomaticSeed/AutomaticSeed.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches