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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2797, allocations: 50.54 MB / 409.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.AutomaticSeed): time 0.003318/0.2831, allocations: 1.845 MB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2844, allocations: 0.7132 MB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.2845, allocations: 4 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.2846, allocations: 27.62 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2848, allocations: 59.44 kB / 412.6 MB, free: 14.85 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.2854, allocations: 219.4 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.2857, allocations: 331 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.2858, allocations: 28.72 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2859, allocations: 143.4 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.2867, allocations: 217.6 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.2868, allocations: 28 kB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.2871, allocations: 127.8 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2872, allocations: 99.67 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2873, allocations: 159 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.2878, allocations: 406.3 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2878, allocations: 0 / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2878, allocations: 0 / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2878, allocations: 0 / 414.3 MB, free: 13.13 MB / 334.1 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.0009971/0.2888, allocations: 0.6728 MB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2889, allocations: 12.03 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.2896, allocations: 120.4 kB / 415.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2899, allocations: 260.1 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2899, allocations: 12.56 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.29, allocations: 28.11 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.2904, allocations: 287.3 kB / 415.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2904, allocations: 0 / 415.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.2905, allocations: 7.984 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2905, allocations: 4 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.2909, allocations: 167.8 kB / 415.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2921, allocations: 0.7843 MB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.2929, allocations: 387.5 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.2932, allocations: 169 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2933, allocations: 8 kB / 417.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.2938, allocations: 359.3 kB / 417.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.884e-06/0.2938, allocations: 3.938 kB / 417.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.001175/0.295, allocations: 0.6335 MB / 418.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.2951, allocations: 227.8 kB / 418.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2954, allocations: 332.4 kB / 418.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.2955, allocations: 85.67 kB / 418.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2956, allocations: 157.3 kB / 419 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2957, allocations: 118.5 kB / 419.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.2959, allocations: 142.3 kB / 419.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.296, allocations: 362.8 kB / 419.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.2965, allocations: 281.5 kB / 419.8 MB, free: 7.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.297, allocations: 368.5 kB / 420.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.2979, allocations: 0.6057 MB / 420.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2979, allocations: 4 kB / 420.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001167/0.2991, allocations: 0.7723 MB / 421.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2991, allocations: 7.938 kB / 421.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.2991, allocations: 4 kB / 421.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2992, allocations: 4 kB / 421.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.2995, allocations: 87.81 kB / 421.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2995, allocations: 11.88 kB / 421.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2997, allocations: 55.42 kB / 421.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.2997, allocations: 20 kB / 421.8 MB, free: 5.246 MB / 334.1 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,globalSeed.seed,manualSeed3.actualGlobalSeed,manualSeed3.localSeed,manualSeed2.actualGlobalSeed,manualSeed2.localSeed,manualSeed1.actualGlobalSeed,manualSeed1.localSeed,automaticSeed3.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed1.localSeed,globalSeed.id_impure,automaticSeed1.r_raw,$PRE.automaticSeed1.r_raw,automaticSeed1.r,$PRE.automaticSeed1.r,automaticSeed1.state[4],$PRE.automaticSeed1.state[4],automaticSeed1.state[3],$PRE.automaticSeed1.state[3],automaticSeed1.state[2],$PRE.automaticSeed1.state[2],automaticSeed1.state[1],$PRE.automaticSeed1.state[1],automaticSeed2.r_raw,$PRE.automaticSeed2.r_raw,automaticSeed2.r,$PRE.automaticSeed2.r,automaticSeed2.state[4],$PRE.automaticSeed2.state[4],automaticSeed2.state[3],$PRE.automaticSeed2.state[3],automaticSeed2.state[2],$PRE.automaticSeed2.state[2],automaticSeed2.state[1],$PRE.automaticSeed2.state[1],automaticSeed3.r_raw,$PRE.automaticSeed3.r_raw,automaticSeed3.r,$PRE.automaticSeed3.r,automaticSeed3.state[4],$PRE.automaticSeed3.state[4],automaticSeed3.state[3],$PRE.automaticSeed3.state[3],automaticSeed3.state[2],$PRE.automaticSeed3.state[2],automaticSeed3.state[1],$PRE.automaticSeed3.state[1],manualSeed1.r_raw,$PRE.manualSeed1.r_raw,manualSeed1.r,$PRE.manualSeed1.r,manualSeed1.state[4],$PRE.manualSeed1.state[4],manualSeed1.state[3],$PRE.manualSeed1.state[3],manualSeed1.state[2],$PRE.manualSeed1.state[2],manualSeed1.state[1],$PRE.manualSeed1.state[1],manualSeed2.r_raw,$PRE.manualSeed2.r_raw,manualSeed2.r,$PRE.manualSeed2.r,manualSeed2.state[4],$PRE.manualSeed2.state[4],manualSeed2.state[3],$PRE.manualSeed2.state[3],manualSeed2.state[2],$PRE.manualSeed2.state[2],manualSeed2.state[1],$PRE.manualSeed2.state[1],manualSeed3.r_raw,$PRE.manualSeed3.r_raw,manualSeed3.r,$PRE.manualSeed3.r,manualSeed3.state[4],$PRE.manualSeed3.state[4],manualSeed3.state[3],$PRE.manualSeed3.state[3],manualSeed3.state[2],$PRE.manualSeed3.state[2],manualSeed3.state[1],$PRE.manualSeed3.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 74 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.3, allocations: 222.3 kB / 422 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.3, allocations: 35.53 kB / 422 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.3001, allocations: 30.7 kB / 422.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3001, allocations: 4 kB / 422.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3001, allocations: 3.938 kB / 422.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.3002, allocations: 128.5 kB / 422.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.3002, allocations: 27.98 kB / 422.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3004, allocations: 19.97 kB / 422.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.3005, allocations: 35.95 kB / 422.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001014/0.3015, allocations: 0.9539 MB / 423.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000932/0.3025, allocations: 1.022 MB / 424.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003337/0.3028, allocations: 192.1 kB / 424.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.303, allocations: 223 kB / 424.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.303, allocations: 0 / 424.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3046, allocations: 0.5847 MB / 425.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008341/0.3054, allocations: 0.9167 MB / 426.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of Templates: time 0.008423/0.3139, allocations: 4.655 MB / 430.8 MB, free: 12.12 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches