Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2627, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.AutomaticSeed): time 0.002764/0.2655, allocations: 1.834 MB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2669, allocations: 0.7232 MB / 404 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.267, allocations: 0 / 404 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2671, allocations: 19.69 kB / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.2673, allocations: 67.45 kB / 404.1 MB, free: 6.199 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006525/0.2679, allocations: 219.4 kB / 404.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.2683, allocations: 331 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.2684, allocations: 28.7 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2685, allocations: 143.4 kB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009203/0.2694, allocations: 211.1 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.2695, allocations: 28 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.2698, allocations: 139.8 kB / 405.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.611e-05/0.2699, allocations: 91.61 kB / 405.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.27, allocations: 163 kB / 405.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.2705, allocations: 403.8 kB / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2705, allocations: 0 / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.2705, allocations: 0 / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2705, allocations: 3.938 kB / 405.8 MB, free: 4.488 MB / 318.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.0009968/0.2715, allocations: 0.6754 MB / 406.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2716, allocations: 8.031 kB / 406.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007924/0.2724, allocations: 108.4 kB / 406.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.2726, allocations: 268 kB / 406.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.2727, allocations: 19.88 kB / 406.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.2727, allocations: 16 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.2732, allocations: 283.8 kB / 407.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2733, allocations: 3.984 kB / 407.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2733, allocations: 7.984 kB / 407.2 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2733, allocations: 7.938 kB / 407.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.2738, allocations: 171.8 kB / 407.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.2751, allocations: 0.7843 MB / 408.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.2759, allocations: 379.5 kB / 408.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.2762, allocations: 177.1 kB / 408.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2762, allocations: 4 kB / 408.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/0.2768, allocations: 359.3 kB / 409 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.2768, allocations: 0 / 409 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001284/0.2781, allocations: 0.6388 MB / 409.7 MB, free: 332 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.2782, allocations: 219.9 kB / 409.9 MB, free: 68 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.2786, allocations: 332.4 kB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.211e-05/0.2787, allocations: 89.61 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2788, allocations: 157.2 kB / 410.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2789, allocations: 122.5 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.2791, allocations: 146.3 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2793, allocations: 358.8 kB / 411 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.2798, allocations: 281.5 kB / 411.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.2803, allocations: 367.1 kB / 411.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.2813, allocations: 0.6019 MB / 412.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2813, allocations: 0 / 412.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001253/0.2825, allocations: 0.7839 MB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2826, allocations: 4 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2826, allocations: 3.938 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2826, allocations: 8 kB / 413.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.283, allocations: 79.81 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.283, allocations: 4 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2832, allocations: 67.34 kB / 413.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2833, allocations: 24 kB / 413.3 MB, free: 12.59 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.0002501/0.2835, allocations: 218.4 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.2836, allocations: 35.53 kB / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.2837, allocations: 38.64 kB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2837, allocations: 4 kB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2837, allocations: 4 kB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.2838, allocations: 120.5 kB / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.2838, allocations: 23.98 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.284, allocations: 23.97 kB / 413.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2841, allocations: 39.89 kB / 413.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001082/0.2852, allocations: 0.954 MB / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001042/0.2863, allocations: 1.022 MB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003693/0.2866, allocations: 187.9 kB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.2869, allocations: 223.1 kB / 416.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of Backend: time 7.21e-07/0.2869, allocations: 0 / 416.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.2887, allocations: 0.5721 MB / 416.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of SimCode: time 0.000921/0.2897, allocations: 0.9205 MB / 417.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of Templates: time 0.008837/0.2985, allocations: 4.666 MB / 422.3 MB, free: 3.477 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches