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.001101/0.001101, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.2 MB / 245 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 99.92 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002118, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1997, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09144/0.2912, allocations: 78.24 MB / 487.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.2915, allocations: 72.66 kB / 487.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.3132, allocations: 8.447 MB / 496.2 MB, free: 3.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3132, allocations: 0 / 496.2 MB, free: 3.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3132, allocations: 8 kB / 496.2 MB, free: 3.812 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.001081/0.3143, allocations: 0.6397 MB / 496.8 MB, free: 3.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3144, allocations: 8.031 kB / 496.8 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/0.3151, allocations: 119.5 kB / 496.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3154, allocations: 255 kB / 497.2 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.3155, allocations: 16.14 kB / 497.2 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.3155, allocations: 19.98 kB / 497.2 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.316, allocations: 299.6 kB / 497.5 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3161, allocations: 0 / 497.5 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.3161, allocations: 0 / 497.5 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3161, allocations: 4 kB / 497.5 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.3166, allocations: 199.8 kB / 497.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3178, allocations: 0.8428 MB / 498.6 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.3187, allocations: 424.3 kB / 499 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3187, allocations: 4 kB / 499 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.3193, allocations: 359.1 kB / 499.3 MB, free: 404 kB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.3193, allocations: 0 / 499.3 MB, free: 404 kB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001614/0.3209, allocations: 1.158 MB / 0.4888 GB, free: 15.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.321, allocations: 227.8 kB / 0.489 GB, free: 14.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.3214, allocations: 291.5 kB / 0.4893 GB, free: 14.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.3215, allocations: 85.66 kB / 0.4893 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3216, allocations: 169.3 kB / 0.4895 GB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.3217, allocations: 118.5 kB / 0.4896 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.3218, allocations: 16 kB / 0.4896 GB, free: 14.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.322, allocations: 362.7 kB / 0.49 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.3225, allocations: 265.5 kB / 0.4902 GB, free: 13.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.323, allocations: 351.1 kB / 0.4906 GB, free: 13.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.3236, allocations: 306.5 kB / 0.4909 GB, free: 12.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3236, allocations: 0 / 0.4909 GB, free: 12.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001289/0.3249, allocations: 0.7486 MB / 0.4916 GB, free: 12.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.3249, allocations: 8 kB / 0.4916 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.3249, allocations: 12.12 kB / 0.4916 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.325, allocations: 8 kB / 0.4916 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3253, allocations: 75.83 kB / 0.4917 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3253, allocations: 8 kB / 0.4917 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3255, allocations: 51.58 kB / 0.4917 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.3256, allocations: 35.98 kB / 0.4918 GB, free: 11.93 MB / 378.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.0002384/0.3258, allocations: 222.3 kB / 0.492 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.3259, allocations: 47.47 kB / 0.492 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.3259, allocations: 34.64 kB / 0.4921 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.326, allocations: 8 kB / 0.4921 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.326, allocations: 0 / 0.4921 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.326, allocations: 0 / 0.4921 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.3263, allocations: 345.2 kB / 0.4924 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3264, allocations: 0 / 0.4924 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3265, allocations: 31.92 kB / 0.4924 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3265, allocations: 4 kB / 0.4924 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.3265, allocations: 15.98 kB / 0.4924 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3265, allocations: 8 kB / 0.4925 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3265, allocations: 3.984 kB / 0.4925 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.3274, allocations: 0.6446 MB / 0.4931 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.3275, allocations: 120.5 kB / 0.4932 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.3276, allocations: 35.97 kB / 0.4932 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3277, allocations: 27.97 kB / 0.4933 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.3279, allocations: 43.92 kB / 0.4933 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3279, allocations: 16 kB / 0.4933 GB, free: 10.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3281, allocations: 219 kB / 0.4935 GB, free: 9.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3281, allocations: 4 kB / 0.4935 GB, free: 9.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.3285, allocations: 103.9 kB / 0.4936 GB, free: 9.875 MB / 378.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.0005254/0.329, allocations: 280 kB / 0.4939 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009484/0.33, allocations: 0.7148 MB / 0.4946 GB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.33, allocations: 0 / 0.4946 GB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.3304, allocations: 200.6 kB / 0.4948 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.3306, allocations: 29.03 kB / 0.4948 GB, free: 8.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.3314, allocations: 0.6419 MB / 0.4954 GB, free: 7.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3317, allocations: 0.7963 MB / 0.4962 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.768e-05/0.3318, allocations: 38.95 kB / 0.4963 GB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.3319, allocations: 35.42 kB / 0.4963 GB, free: 7.066 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3319, allocations: 0 / 0.4963 GB, free: 7.066 MB / 378.7 MB Notification: Performance of Templates: time 0.007244/0.3391, allocations: 4.323 MB / 0.5005 GB, free: 2.766 MB / 378.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