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.00157/0.00157, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 210.7 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.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2467, allocations: 50.55 MB / 409.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.AutomaticSeed): time 0.002653/0.2494, allocations: 1.845 MB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2506, allocations: 0.7171 MB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.2507, allocations: 0 / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.2508, allocations: 31.61 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.251, allocations: 63.45 kB / 412.6 MB, free: 14.88 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.0005837/0.2516, allocations: 215.5 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.2519, allocations: 331 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.2519, allocations: 24.72 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2521, allocations: 143.4 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008261/0.2529, allocations: 220.6 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.253, allocations: 28 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.2532, allocations: 135.8 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.2533, allocations: 91.67 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.2534, allocations: 155.1 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.2539, allocations: 410.3 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2539, allocations: 0 / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2539, allocations: 0 / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2539, allocations: 0 / 414.3 MB, free: 13.16 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.0009672/0.2549, allocations: 0.6806 MB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2549, allocations: 8.031 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/0.2557, allocations: 108.4 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.256, allocations: 272 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.256, allocations: 12.56 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.2561, allocations: 24.11 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.2565, allocations: 287.1 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2566, allocations: 0 / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.2566, allocations: 8 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.2566, allocations: 7.938 kB / 415.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.2571, allocations: 167.8 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.2583, allocations: 0.7843 MB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.2591, allocations: 383.5 kB / 417 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.2595, allocations: 173.1 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2595, allocations: 3.984 kB / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005535/0.26, allocations: 355.1 kB / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.804e-06/0.2601, allocations: 0 / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.001268/0.2613, allocations: 0.639 MB / 418.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.2614, allocations: 223.8 kB / 418.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.2618, allocations: 332.4 kB / 418.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.12e-05/0.2619, allocations: 89.66 kB / 418.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.262, allocations: 157.3 kB / 419 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2621, allocations: 122.5 kB / 419.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2623, allocations: 138.3 kB / 419.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2624, allocations: 362.8 kB / 419.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.2629, allocations: 277.5 kB / 419.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.2634, allocations: 379 kB / 420.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.2644, allocations: 0.598 MB / 420.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2644, allocations: 0 / 420.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001233/0.2656, allocations: 0.7801 MB / 421.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2657, allocations: 4 kB / 421.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2657, allocations: 3.938 kB / 421.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2657, allocations: 8 kB / 421.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.266, allocations: 75.83 kB / 421.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.266, allocations: 11.88 kB / 421.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.2662, allocations: 63.42 kB / 421.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.2663, allocations: 31.97 kB / 421.8 MB, free: 5.273 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.0002205/0.2665, allocations: 218.3 kB / 422 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.2666, allocations: 39.52 kB / 422 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.2666, allocations: 30.7 kB / 422.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2666, allocations: 4 kB / 422.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2667, allocations: 7.938 kB / 422.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.2667, allocations: 124.5 kB / 422.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.2668, allocations: 23.98 kB / 422.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.267, allocations: 19.98 kB / 422.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.2671, allocations: 35.95 kB / 422.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001044/0.2681, allocations: 0.9539 MB / 423.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001014/0.2691, allocations: 1.018 MB / 424.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003525/0.2695, allocations: 195.8 kB / 424.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.2697, allocations: 219.1 kB / 424.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Backend: time 5.41e-07/0.2697, allocations: 3.938 kB / 424.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.2714, allocations: 0.5702 MB / 425.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008942/0.2723, allocations: 0.9245 MB / 426.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of Templates: time 0.008743/0.281, allocations: 4.663 MB / 430.8 MB, free: 12.15 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