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.001069/0.001069, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.538/1.538, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000795/0.0007949, allocations: 86.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.173e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09522, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/0.3858, allocations: 76.43 MB / 446.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.3861, allocations: 66.03 kB / 446.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02123/0.4073, allocations: 8.102 MB / 454.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4073, allocations: 3.938 kB / 454.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4074, allocations: 4 kB / 454.6 MB, free: 9.703 MB / 330.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.0008768/0.4082, allocations: 0.6027 MB / 455.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4083, allocations: 8.031 kB / 455.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.409, allocations: 115.5 kB / 455.3 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4092, allocations: 253.7 kB / 455.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.4093, allocations: 22.45 kB / 455.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.4094, allocations: 22.97 kB / 455.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.4098, allocations: 253 kB / 455.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4098, allocations: 3.938 kB / 455.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.4098, allocations: 3.25 kB / 455.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4098, allocations: 4 kB / 455.9 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.41, allocations: 117.6 kB / 456 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4113, allocations: 0.8451 MB / 456.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.4117, allocations: 306.2 kB / 457.2 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.4119, allocations: 146.3 kB / 457.3 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4119, allocations: 7.625 kB / 457.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.4123, allocations: 316 kB / 457.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 3.026e-06/0.4123, allocations: 3.984 kB / 457.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006466/0.413, allocations: 446.9 kB / 458.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4131, allocations: 224 kB / 458.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.4134, allocations: 296.1 kB / 458.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.4135, allocations: 81.67 kB / 458.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4136, allocations: 169.3 kB / 458.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.4137, allocations: 126.5 kB / 458.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.4138, allocations: 12 kB / 458.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4139, allocations: 366.7 kB / 459.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.4143, allocations: 229.5 kB / 459.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.4147, allocations: 302.5 kB / 459.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.4151, allocations: 270 kB / 460.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4151, allocations: 0 / 460.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009838/0.4161, allocations: 0.6792 MB / 460.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4161, allocations: 8.031 kB / 460.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.4161, allocations: 4 kB / 460.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4162, allocations: 8 kB / 460.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.4165, allocations: 75.83 kB / 460.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4165, allocations: 11.92 kB / 460.9 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4167, allocations: 63.56 kB / 460.9 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.4168, allocations: 32 kB / 461 MB, free: 3.516 MB / 330.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.0001537/0.4169, allocations: 185.5 kB / 461.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.417, allocations: 35.53 kB / 461.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.4171, allocations: 34.83 kB / 461.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4171, allocations: 4 kB / 461.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4171, allocations: 3.938 kB / 461.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4171, allocations: 7.984 kB / 461.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.4174, allocations: 345.1 kB / 461.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4174, allocations: 0 / 461.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.4176, allocations: 31.97 kB / 461.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4176, allocations: 8 kB / 461.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.4176, allocations: 11.98 kB / 461.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4176, allocations: 11.94 kB / 461.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4176, allocations: 0 / 461.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.4183, allocations: 0.552 MB / 462.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.4184, allocations: 120.5 kB / 462.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.4185, allocations: 35.91 kB / 462.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4186, allocations: 27.98 kB / 462.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.4187, allocations: 39.94 kB / 462.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.4188, allocations: 19.98 kB / 462.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.419, allocations: 214.2 kB / 462.6 MB, free: 1.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.419, allocations: 4 kB / 462.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.4194, allocations: 123.9 kB / 462.8 MB, free: 1.57 MB / 330.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.0004781/0.4199, allocations: 277.2 kB / 463 MB, free: 1.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.4206, allocations: 0.6443 MB / 463.7 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4206, allocations: 0 / 463.7 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.4209, allocations: 167.8 kB / 463.8 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.421, allocations: 19.67 kB / 463.8 MB, free: 452 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.4217, allocations: 456.7 kB / 464.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4221, allocations: 0.7968 MB / 465.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.4222, allocations: 42.95 kB / 465.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.4223, allocations: 27.42 kB / 465.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4223, allocations: 0 / 465.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of Templates: time 0.008515/0.4309, allocations: 4.384 MB / 469.5 MB, free: 10.67 MB / 346.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