Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 240.3 MB, free: 10.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 100.1 kB / 291.5 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002866, allocations: 11.94 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2689, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3698, allocations: 77.45 MB / 478.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3701, allocations: 71.97 kB / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02269/0.3928, allocations: 8.447 MB / 487.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3928, allocations: 3.938 kB / 487.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3929, allocations: 8 kB / 487.5 MB, free: 10.41 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.001069/0.3939, allocations: 0.6359 MB / 488.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.394, allocations: 8.031 kB / 488.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.3947, allocations: 119.4 kB / 488.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.395, allocations: 251.2 kB / 488.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.395, allocations: 12.19 kB / 488.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.3951, allocations: 27.91 kB / 488.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.3956, allocations: 296.2 kB / 488.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3956, allocations: 0 / 488.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3957, allocations: 7.953 kB / 488.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3957, allocations: 4 kB / 488.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3961, allocations: 191.8 kB / 489 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3973, allocations: 0.8466 MB / 489.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/0.3981, allocations: 424.4 kB / 490.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3982, allocations: 7.891 kB / 490.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005248/0.3987, allocations: 356.4 kB / 490.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.873e-06/0.3987, allocations: 0 / 490.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001509/0.4002, allocations: 1.158 MB / 491.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.4003, allocations: 223.8 kB / 492 MB, free: 5.453 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.4007, allocations: 295.5 kB / 492.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.4008, allocations: 81.66 kB / 492.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.4009, allocations: 165.3 kB / 492.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.401, allocations: 126.5 kB / 492.6 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.401, allocations: 12 kB / 492.7 MB, free: 4.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4012, allocations: 362.8 kB / 493 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.4017, allocations: 257.5 kB / 493.3 MB, free: 4.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.4022, allocations: 347.1 kB / 493.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.4027, allocations: 314.5 kB / 493.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4027, allocations: 0 / 493.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001298/0.404, allocations: 0.7564 MB / 494.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.404, allocations: 8 kB / 494.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.4041, allocations: 7.984 kB / 494.7 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4041, allocations: 4 kB / 494.7 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.4044, allocations: 79.89 kB / 494.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4044, allocations: 4 kB / 494.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.4046, allocations: 63.52 kB / 494.8 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.4047, allocations: 31.98 kB / 494.9 MB, free: 2.531 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 () * 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.0002304/0.4049, allocations: 218.3 kB / 495.1 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.405, allocations: 47.47 kB / 495.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.4051, allocations: 26.7 kB / 495.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4051, allocations: 4 kB / 495.2 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4051, allocations: 8 kB / 495.2 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4051, allocations: 4 kB / 495.2 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.4054, allocations: 345.2 kB / 495.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4055, allocations: 7.922 kB / 495.5 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4056, allocations: 27.98 kB / 495.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4056, allocations: 4 kB / 495.5 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.4056, allocations: 15.94 kB / 495.6 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4056, allocations: 4 kB / 495.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4056, allocations: 3.984 kB / 495.6 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.4065, allocations: 0.6378 MB / 496.2 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.4066, allocations: 124.5 kB / 496.3 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.4067, allocations: 31.97 kB / 496.4 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.4069, allocations: 23.98 kB / 496.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.407, allocations: 43.89 kB / 496.4 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.407, allocations: 23.98 kB / 496.4 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.4072, allocations: 215.1 kB / 496.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.483e-06/0.4073, allocations: 0 / 496.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.4077, allocations: 115.9 kB / 496.8 MB, free: 484 kB / 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]) * 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.0005473/0.4083, allocations: 288 kB / 497 MB, free: 232 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4093, allocations: 0.7103 MB / 497.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4093, allocations: 7.875 kB / 497.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.4097, allocations: 212.4 kB / 498 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.4099, allocations: 17.08 kB / 498 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.4109, allocations: 0.6341 MB / 498.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.4112, allocations: 0.7962 MB / 499.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.4114, allocations: 38.95 kB / 499.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.4115, allocations: 39.42 kB / 499.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4115, allocations: 0 / 499.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of Templates: time 0.008689/0.4202, allocations: 4.323 MB / 0.492 GB, free: 9.371 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches