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.0009261/0.000926, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 99.42 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.119e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4924, allocations: 76.7 MB / 464.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4927, allocations: 69.69 kB / 464.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02228/0.515, allocations: 8.382 MB / 472.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.515, allocations: 4 kB / 472.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.515, allocations: 4 kB / 472.6 MB, free: 9.637 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.001081/0.5161, allocations: 0.5932 MB / 473.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5162, allocations: 12.72 kB / 473.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/0.517, allocations: 119.4 kB / 473.4 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.5173, allocations: 248.1 kB / 473.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5173, allocations: 4 kB / 473.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.5173, allocations: 12 kB / 473.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002289/0.5176, allocations: 112.5 kB / 473.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.5179, allocations: 244.3 kB / 474 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.518, allocations: 3.953 kB / 474 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.518, allocations: 11.94 kB / 474 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.518, allocations: 0 / 474 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5193, allocations: 0.7927 MB / 474.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.5197, allocations: 292.5 kB / 475.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.5199, allocations: 133.3 kB / 475.2 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.52, allocations: 8 kB / 475.2 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.5204, allocations: 311.2 kB / 475.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.5204, allocations: 4 kB / 475.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006664/0.5211, allocations: 441.5 kB / 475.9 MB, free: 6.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5212, allocations: 219.9 kB / 476.1 MB, free: 5.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.5215, allocations: 281 kB / 476.4 MB, free: 5.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.5216, allocations: 69.66 kB / 476.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.5218, allocations: 165.2 kB / 476.6 MB, free: 5.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.5219, allocations: 118.6 kB / 476.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.5219, allocations: 0 / 476.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5221, allocations: 366.7 kB / 477.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.5224, allocations: 209.5 kB / 477.3 MB, free: 4.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.5228, allocations: 292.9 kB / 477.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.5234, allocations: 256.5 kB / 477.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5235, allocations: 0 / 477.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001085/0.5245, allocations: 0.6244 MB / 478.5 MB, free: 3.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.5246, allocations: 11.94 kB / 478.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/0.5246, allocations: 8 kB / 478.5 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5246, allocations: 4 kB / 478.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.525, allocations: 80.02 kB / 478.6 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.525, allocations: 4 kB / 478.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.5252, allocations: 47.52 kB / 478.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.5253, allocations: 35.98 kB / 478.7 MB, free: 3.215 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 () * 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.000189/0.5255, allocations: 179.4 kB / 478.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.5255, allocations: 39.53 kB / 478.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.5256, allocations: 34.78 kB / 478.9 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5256, allocations: 4 kB / 478.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5256, allocations: 3.984 kB / 478.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5256, allocations: 4 kB / 478.9 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.526, allocations: 293.8 kB / 479.2 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.526, allocations: 8 kB / 479.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.5261, allocations: 35.91 kB / 479.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5261, allocations: 0 / 479.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5262, allocations: 15.98 kB / 479.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5262, allocations: 0 / 479.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5262, allocations: 7.953 kB / 479.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.5269, allocations: 0.548 MB / 479.8 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.527, allocations: 128.4 kB / 480 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.5271, allocations: 27.97 kB / 480 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5272, allocations: 23.97 kB / 480 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.5273, allocations: 43.91 kB / 480.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.5274, allocations: 19.98 kB / 480.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.5276, allocations: 204.6 kB / 480.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5276, allocations: 0 / 480.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.5281, allocations: 91.92 kB / 480.4 MB, free: 1.391 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]) * 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.0005356/0.5286, allocations: 275.3 kB / 480.6 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.5293, allocations: 0.6193 MB / 481.3 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5294, allocations: 0 / 481.3 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.5296, allocations: 155.9 kB / 481.4 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.5298, allocations: 21.14 kB / 481.4 MB, free: 320 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.5305, allocations: 435.8 kB / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.5309, allocations: 0.792 MB / 482.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.531, allocations: 47.25 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.5311, allocations: 35.42 kB / 482.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5311, allocations: 0 / 482.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Templates: time 0.007864/0.539, allocations: 4.108 MB / 486.8 MB, free: 10.86 MB / 362.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