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.001101/0.001101, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 82.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.424e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08849, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4524, allocations: 76.01 MB / 439.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4527, allocations: 69.02 kB / 439.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02137/0.4741, allocations: 8.063 MB / 447.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4741, allocations: 0 / 447.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.4742, allocations: 11.94 kB / 447.2 MB, free: 12.62 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.0009484/0.4751, allocations: 0.5927 MB / 447.8 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4752, allocations: 8.031 kB / 447.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.4759, allocations: 119 kB / 447.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4762, allocations: 250.7 kB / 448.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.4762, allocations: 11.45 kB / 448.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.4763, allocations: 12 kB / 448.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00022/0.4765, allocations: 107.2 kB / 448.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.4769, allocations: 250.4 kB / 448.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4769, allocations: 0 / 448.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.4769, allocations: 4 kB / 448.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4769, allocations: 4.734 kB / 448.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.4783, allocations: 0.8021 MB / 449.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.4787, allocations: 291.3 kB / 449.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4788, allocations: 142.9 kB / 449.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4789, allocations: 0 / 449.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.4793, allocations: 308.7 kB / 450.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.4793, allocations: 4 kB / 450.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006954/0.48, allocations: 430.1 kB / 450.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.4801, allocations: 233.6 kB / 450.7 MB, free: 9.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.4804, allocations: 278.9 kB / 451 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.731e-05/0.4805, allocations: 71.11 kB / 451.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4807, allocations: 158.1 kB / 451.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4808, allocations: 123.9 kB / 451.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.4808, allocations: 3.625 kB / 451.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.481, allocations: 361.8 kB / 451.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.4813, allocations: 215.4 kB / 451.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.4817, allocations: 301.2 kB / 452.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.4823, allocations: 280.7 kB / 452.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4824, allocations: 0 / 452.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001121/0.4835, allocations: 0.6538 MB / 453.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4835, allocations: 4 kB / 453.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.4835, allocations: 8 kB / 453.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4836, allocations: 4 kB / 453.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.4839, allocations: 79.2 kB / 453.2 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4839, allocations: 7.938 kB / 453.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4841, allocations: 54.81 kB / 453.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.4842, allocations: 30.88 kB / 453.3 MB, free: 7.164 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.0001911/0.4844, allocations: 180.7 kB / 453.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.4845, allocations: 35.53 kB / 453.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.4845, allocations: 28.64 kB / 453.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4846, allocations: 4 kB / 453.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4846, allocations: 0 / 453.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4846, allocations: 11.92 kB / 453.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.4849, allocations: 295 kB / 453.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4849, allocations: 4 kB / 453.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.485, allocations: 35.38 kB / 453.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4851, allocations: 4 kB / 453.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.4851, allocations: 7.984 kB / 453.9 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4851, allocations: 4 kB / 453.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4851, allocations: 3.938 kB / 453.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.4858, allocations: 0.545 MB / 454.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.4859, allocations: 124 kB / 454.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.4859, allocations: 34.98 kB / 454.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4861, allocations: 23.97 kB / 454.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4862, allocations: 38.56 kB / 454.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.4863, allocations: 19.92 kB / 454.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.4864, allocations: 207.6 kB / 454.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4864, allocations: 0 / 454.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004287/0.4869, allocations: 103.2 kB / 455 MB, free: 5.566 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.0005438/0.4874, allocations: 278.9 kB / 455.3 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007018/0.4881, allocations: 0.6231 MB / 455.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4882, allocations: 3.5 kB / 455.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.4884, allocations: 153.6 kB / 456.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.4886, allocations: 15.41 kB / 456.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.4893, allocations: 441.1 kB / 456.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4897, allocations: 0.7915 MB / 457.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.4898, allocations: 43.27 kB / 457.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.4899, allocations: 27.44 kB / 457.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4899, allocations: 0 / 457.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of Templates: time 0.008117/0.498, allocations: 4.168 MB / 461.5 MB, free: 15.2 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