Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5152,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed") translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5152,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.81 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2901, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.AutomaticSeed): time 0.003081/0.2932, allocations: 1.865 MB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2946, allocations: 0.7403 MB / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.2947, allocations: 0 / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2948, allocations: 27.61 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.295, allocations: 63.45 kB / 434.8 MB, free: 4.664 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0006513/0.2956, allocations: 215.5 kB / 435 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.296, allocations: 331 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.296, allocations: 16.73 kB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2962, allocations: 139.4 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.2972, allocations: 220.3 kB / 435.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.2972, allocations: 28 kB / 435.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.2975, allocations: 139.8 kB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2976, allocations: 91.61 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.2977, allocations: 159.1 kB / 436.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.2983, allocations: 416.4 kB / 436.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2983, allocations: 3.938 kB / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2983, allocations: 0 / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.2983, allocations: 3.938 kB / 436.5 MB, free: 2.949 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.001113/0.2994, allocations: 0.679 MB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2994, allocations: 8.031 kB / 437.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.3002, allocations: 116.6 kB / 437.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3005, allocations: 264.3 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.3005, allocations: 20.55 kB / 437.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.3006, allocations: 20.12 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.3011, allocations: 283.7 kB / 437.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3011, allocations: 0 / 437.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3011, allocations: 7.984 kB / 437.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3011, allocations: 0 / 437.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.3016, allocations: 171.8 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.303, allocations: 0.7958 MB / 438.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.3038, allocations: 363.5 kB / 439.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.3042, allocations: 157.5 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3042, allocations: 0 / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.3048, allocations: 359.2 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.013e-06/0.3048, allocations: 0 / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.001371/0.3061, allocations: 0.6351 MB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.3063, allocations: 223.8 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.3067, allocations: 332.5 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.3068, allocations: 89.66 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3069, allocations: 153.4 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.307, allocations: 131.1 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.3072, allocations: 134.3 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3074, allocations: 362.8 kB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.3079, allocations: 281.5 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.3085, allocations: 375 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.3095, allocations: 0.6019 MB / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3095, allocations: 0 / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001388/0.3109, allocations: 0.784 MB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3109, allocations: 4 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3109, allocations: 4.188 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.311, allocations: 8 kB / 443.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.3113, allocations: 79.81 kB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.3113, allocations: 11.88 kB / 443.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3115, allocations: 63.61 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.3116, allocations: 20 kB / 443.9 MB, free: 11.09 MB / 350.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.0003019/0.3119, allocations: 218.4 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.312, allocations: 39.72 kB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.312, allocations: 30.7 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.312, allocations: 0 / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.312, allocations: 15.86 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3122, allocations: 124.7 kB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.3122, allocations: 23.98 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3124, allocations: 27.97 kB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3125, allocations: 35.95 kB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.3137, allocations: 0.9656 MB / 445.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001187/0.3149, allocations: 1.022 MB / 446.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003564/0.3153, allocations: 155.8 kB / 446.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3155, allocations: 219.1 kB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.3155, allocations: 8 kB / 446.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.3173, allocations: 0.5423 MB / 447.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of SimCode: time 0.001167/0.3185, allocations: 0.9318 MB / 448.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Templates: time 0.01014/0.3286, allocations: 4.774 MB / 453 MB, free: 1.887 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.411500019952655]