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.001414/0.001414, allocations: 183 kB / 18.04 MB, free: 3.754 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.484/1.484, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007883/0.0007886, allocations: 92.34 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003289, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 47.58 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08787/0.3465, allocations: 76.57 MB / 453.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3467, allocations: 71.95 kB / 453.7 MB, free: 3.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02115/0.3679, allocations: 8.134 MB / 461.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3679, allocations: 4 kB / 461.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.368, allocations: 4 kB / 461.8 MB, free: 11.72 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.001152/0.3691, allocations: 0.6436 MB / 462.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3692, allocations: 12.03 kB / 462.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007825/0.37, allocations: 120.4 kB / 462.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3703, allocations: 260.2 kB / 462.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.3703, allocations: 16.55 kB / 462.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.3704, allocations: 24.36 kB / 462.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.3709, allocations: 295.8 kB / 463.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3709, allocations: 7.938 kB / 463.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3709, allocations: 7.938 kB / 463.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.371, allocations: 4 kB / 463.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.3714, allocations: 191.8 kB / 463.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.3728, allocations: 0.8465 MB / 464.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.3736, allocations: 423.5 kB / 464.6 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.3739, allocations: 189.4 kB / 464.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3739, allocations: 0 / 464.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.3745, allocations: 359.8 kB / 465.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.933e-06/0.3745, allocations: 0 / 465.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.001288/0.3758, allocations: 0.674 MB / 465.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.3759, allocations: 219.8 kB / 466 MB, free: 7.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.3763, allocations: 336.3 kB / 466.4 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.3764, allocations: 85.66 kB / 466.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3765, allocations: 157.3 kB / 466.6 MB, free: 6.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3767, allocations: 134.4 kB / 466.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.3767, allocations: 16 kB / 466.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3768, allocations: 362.8 kB / 467.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.3774, allocations: 265.5 kB / 467.4 MB, free: 5.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.3779, allocations: 359.1 kB / 467.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.3789, allocations: 0.5823 MB / 468.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3789, allocations: 0 / 468.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001283/0.3802, allocations: 0.7567 MB / 469.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3802, allocations: 8 kB / 469.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.3803, allocations: 7.984 kB / 469.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.3803, allocations: 8 kB / 469.1 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.3806, allocations: 79.83 kB / 469.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3806, allocations: 4 kB / 469.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.3809, allocations: 71.34 kB / 469.2 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.381, allocations: 35.98 kB / 469.3 MB, free: 3.828 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.0002965/0.3813, allocations: 218.4 kB / 469.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.3814, allocations: 43.52 kB / 469.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.3814, allocations: 30.7 kB / 469.6 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3814, allocations: 4 kB / 469.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3815, allocations: 0 / 469.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3815, allocations: 7.938 kB / 469.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3819, allocations: 345 kB / 469.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3819, allocations: 7.984 kB / 469.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.382, allocations: 27.98 kB / 469.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.382, allocations: 4 kB / 469.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.3821, allocations: 11.98 kB / 470 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3821, allocations: 4 kB / 470 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3821, allocations: 0 / 470 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.383, allocations: 0.5942 MB / 470.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.3831, allocations: 116.6 kB / 470.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.3832, allocations: 31.97 kB / 470.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3834, allocations: 27.98 kB / 470.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3835, allocations: 43.88 kB / 470.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.3835, allocations: 19.98 kB / 470.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.3838, allocations: 215.1 kB / 471 MB, free: 1.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3838, allocations: 3.938 kB / 471 MB, free: 1.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.3842, allocations: 119.9 kB / 471.1 MB, free: 1.859 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.0006205/0.3849, allocations: 279.8 kB / 471.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.386, allocations: 0.7259 MB / 472.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.386, allocations: 0 / 472.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.3864, allocations: 196.2 kB / 472.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3867, allocations: 30.8 kB / 472.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3877, allocations: 0.6418 MB / 473 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3881, allocations: 0.7845 MB / 473.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3882, allocations: 46.94 kB / 473.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.3883, allocations: 31.42 kB / 473.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3883, allocations: 0 / 473.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Templates: time 0.008731/0.3971, allocations: 4.356 MB / 478.2 MB, free: 10.68 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/jenkins1/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