Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Blocks.Examples.Noise.AutomaticSeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 55.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2412, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.AutomaticSeed): time 0.00328/0.2445, allocations: 1.792 MB / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.246, allocations: 0.7171 MB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.246, allocations: 4 kB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2462, allocations: 27.61 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.2463, allocations: 63.45 kB / 434.9 MB, free: 4.09 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0006776/0.247, allocations: 227.5 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.2473, allocations: 327 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.2474, allocations: 16.92 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.2476, allocations: 147.4 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.2486, allocations: 223.2 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.2487, allocations: 28 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.249, allocations: 171.7 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2491, allocations: 91.66 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2493, allocations: 127.2 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.2498, allocations: 421.1 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2498, allocations: 0 / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2498, allocations: 4 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2498, allocations: 0 / 436.7 MB, free: 2.363 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.00114/0.2509, allocations: 0.5957 MB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.251, allocations: 15.97 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.2518, allocations: 116.6 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.2521, allocations: 218.4 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.2521, allocations: 12.56 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.2521, allocations: 24.11 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.2527, allocations: 287.5 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2527, allocations: 4 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2527, allocations: 3.984 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.2527, allocations: 4 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.2532, allocations: 163.8 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2545, allocations: 0.6748 MB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.2554, allocations: 363.5 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.2557, allocations: 153 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2557, allocations: 7.984 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005849/0.2563, allocations: 347.3 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.034e-06/0.2563, allocations: 0 / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.001387/0.2577, allocations: 0.63 MB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.2578, allocations: 227.9 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.2582, allocations: 340.3 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.91e-05/0.2583, allocations: 89.66 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2584, allocations: 153.4 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2586, allocations: 127.1 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.2587, allocations: 138.3 kB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2589, allocations: 358.8 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.2594, allocations: 281.5 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.26, allocations: 371.1 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.2611, allocations: 0.6098 MB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2611, allocations: 0 / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001388/0.2625, allocations: 0.7802 MB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2625, allocations: 4.188 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2625, allocations: 9.406 kB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2625, allocations: 8 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.2629, allocations: 75.83 kB / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.2629, allocations: 11.94 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2631, allocations: 67.47 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.2631, allocations: 23.98 kB / 443.9 MB, free: 10.8 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.0002579/0.2634, allocations: 222.3 kB / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.2635, allocations: 39.72 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.2635, allocations: 30.7 kB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.2635, allocations: 7.984 kB / 444.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2635, allocations: 0 / 444.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.2636, allocations: 47.62 kB / 444.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.2637, allocations: 31.92 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.2638, allocations: 19.98 kB / 444.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2639, allocations: 39.94 kB / 444.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00123/0.2651, allocations: 0.9578 MB / 445.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001233/0.2664, allocations: 1.03 MB / 446.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003942/0.2668, allocations: 155.8 kB / 446.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.267, allocations: 219.1 kB / 446.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of Backend: time 7.72e-07/0.267, allocations: 0 / 446.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.2689, allocations: 0.5428 MB / 447.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of SimCode: time 0.001062/0.27, allocations: 0.9279 MB / 448.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of Templates: time 0.01019/0.2802, allocations: 5.214 MB / 453.4 MB, free: 1.285 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.481443130003754]